Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radio: SVG exposed as image with accessible name #828

Open
sirrah-tam opened this issue Oct 30, 2024 · 0 comments
Open

Radio: SVG exposed as image with accessible name #828

sirrah-tam opened this issue Oct 30, 2024 · 0 comments
Labels

Comments

@sirrah-tam
Copy link
Contributor

Expected behavior
SVG used as the visual for the radio button hidden as decorative since the actual radio input is exposed to assistive tech (AT).

Actual behavior
SVG has been given the aria-label attribute with the value of "radio", this adds to the verbosity of the component for AT users navigating a page with multiple radio buttons.

Steps to reproduce the issue

  1. Inspect the radio button
  2. Locate the SVG used to visually represent the control
  3. Verify the aria-label attribute used.

Screenshots or code
Screenshot from Pharos site of the radio button's SVG element in the Chrome inspector

Pharos version
v14.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant