You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing inconsistent implementations of the accessible name for input type="image" with a title attribute. More specifically, WebKit and Gecko expose the value of the title attribute; Blink exposes "Submit". Looking at how section 5.3.1 is written, I would argue both are correct due to item 4 in the current spec text:
5.3.1 input type="image" Accessible Name Computation
If the control has an aria-label or an aria-labelledby attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1.
Otherwise use alt attribute
Otherwise use value attribute
Otherwise the user agent may provide an accessible name via a localized string of the phrase "Submit Query"
Otherwise use title attribute
If none of the above yield a usable text string there is no accessible name
This seems bad for interoperability.
Note: At the present time, the ARIA Working Group has a test case for the scenario. I was going to provide a patch to fix the issue in Blink, but technically they don't seem to have a bug.
The text was updated successfully, but these errors were encountered:
Hi @joanmarie how would you change the above? Note that I wrote most of the these an age ago (6 years hmmm), pretty much based on what i found was implemented at the time
I'm seeing inconsistent implementations of the accessible name for
input type="image"
with a title attribute. More specifically, WebKit and Gecko expose the value of thetitle
attribute; Blink exposes "Submit". Looking at how section 5.3.1 is written, I would argue both are correct due to item 4 in the current spec text:This seems bad for interoperability.
Note: At the present time, the ARIA Working Group has a test case for the scenario. I was going to provide a patch to fix the issue in Blink, but technically they don't seem to have a bug.
The text was updated successfully, but these errors were encountered: