WebAIM - Web Accessibility In Mind

E-mail List Archives

Query regarding equal access accessibility checker reported bug

for

From: Sudheer Babu
Date: Aug 8, 2023 7:53PM


Hello All,

We have recently got our application pages scanned with IBM equal access
accessibility checker. While the tool gave some very good findings, I
wanted to discuss about one issue which I felt was false positive and would
need your inputs if you have come across any.

This is the rule that failed - "HTML element with an assigned accesskey
attribute doesn't have an associated label.

Code Snippet:
<input tabindex="0" class="btn btn-primary" blockui="true"
data-id="btnNext" accesskey="n" id="ctI100btnNext" value="Next"
name="ctl00$ct100$cph Main$cphMain$btnN ext" type="submit">

From the above code snippet, the accesskey attribute along with the 'Value'
attribute provides both visual and accessible label for screen readers.

So, do we need to consider the issue reported by the tool as false positive
or if we have to correct this to the standard "Label for" ?

Thanks in advance!

Regards,
Sudhir.