Skip to content

Input with text suffix: VoiceOver reads suffix even though aria-hidden is present #1069

@JoviGriske

Description

@JoviGriske

Prerequisites

  • I have checked the open Issues to see if this has already been raised
  • I have searched the closed Issues to see if a similar bug has been fixed in the past

Description

This bug affects:

  • GitHub workflows
  • Component
  • Config
  • Performance
  • Tooling / Frameworks
  • Documentation
  • Something else

Steps to Reproduce

  1. In Safari, open up Canopy component: Input with text suffix
  2. Start VO
  3. Tab into the input field with the text suffix

Expected behaviour:

'%' is not announced due to aria-hidden

Actual behaviour:

'%' is announced even though aria-hidden is present

Recurrence frequency:

  • Occurs every time
  • Occurs intermittently
  • Unsure

Package version

  • This problem started happening recently
  • This problem started happening a while ago
  • Unsure

Configuration and environment

  • This pertains to local development
  • This pertains to the CI
  • This pertains to Storybook

Additional Information

Working example can be found here: https://designsystem.digital.gov/components/input-prefix-suffix/

Screenshot 2022-10-26 at 11 55 48

Canopy Input with text suffix:
Screenshot 2022-10-26 at 11 54 49

Metadata

Metadata

Assignees

Labels

breaking changeAn issue that when resolved will be a breaking change

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions