zetkin / call.zetk.in

Caller interface for Zetkin.
4 stars 4 forks source link

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

Open henrycatalinismith opened 1 year ago

henrycatalinismith commented 1 year ago

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