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

Open log icon button lacks text alternative and has incorrect role #268

Open
henrycatalinismith opened this issue Oct 15, 2022 · 0 comments

Comments

@henrycatalinismith
Copy link

Steps to reproduce

  1. Go to the call page.
  2. Press ⌘ + F5 to start VoiceOver.
  3. Focus the open log button.

Expected outcome

It should be announced as a button element with a text label explaining its purpose. See WCAG success criteria 1.1.1 and 4.1.2 for more information.

Actual outcome

It's announced as a link and has no label.

VoiceOver's focus indicator on the button and the VoiceOver announcement transcript saying simply "Link"

Severity

The success criterion covering this issue is WCAG level A – the minimum level. Most organizations aim for a conformance level of AA, which includes all level A criteria. This is a severe issue as access to the modal functionality that the button opens would require a user to randomly click things, explore the resulting pages, and then memorize the location of the button once identified.

Recommendation

  • Use <button> rather than <a> for this element.
  • Add an aria-label such as Log, Open log, Call log, or `Open call log etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant