-
Notifications
You must be signed in to change notification settings - Fork 3
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
Success Criterion 4.1.2 - Name, Role, Value - Level A #48
Comments
Conceptually, (as seen in the Notes for WCAG2ICT and Understanding in WCAG) 4.1.2 seems to primarily guide customizations and their interactions with (at least some) AT.
|
@jamieherrera I think one of the major differences between Android/iOS and Web is that web uses It might help to make the scope of elements broader, but we have to be careful about introducing any edge cases. For your second point, I agree it would be good to include hardware keyboard in our updated definition of |
Discussed in today’s meeting. 23 October 2024
ACTION: Continue discussion next week |
I think the general assumption both in WCAG2ICT and standards like EN 301 549 is that keyboard (without running any AT) is just another input mode that 2.1.1 requires to be supported by software, incl. mobile apps. That Apple added keyboard support belatedly to be activated as an accessibility setting does not seem to force us to classify it as AT? At least on an iPad with Magic Keyboard, shouldn‘t the assumption be that all UIE are keyboard accessible (tab or arrow keys) and would fail 2.1.1. if they aren‘t? I would not mix this up with 4.1.2. But maybe I‘m all wrong and we need to align more closely with current mobile development constraints… |
@detlevhfischer that's essentially what I'm trying to capture is whether as a group we feel that the use case for a physical keyboard in the native mobile space (especially in the Apple context of FKA as an Accessibility feature) merits a deviation from WCAG, as the physical keyboard (and onscreen keyboard in tablets/ touchscreen laptops) is an extension of the interface itself, whereas a physical keyboard for a mobile phone (and tablets, to some extent) is an accessory tool. |
As far as the AGWG is concerned, the consensus so far (if I read it correctly) has been to de-emphasize the desktop/mobile distinction, in part because of the growing confluence of both. If we, as a group, choose a deviation, the question remains whether keyboard accessibility would still be a requirement - so that after activating the Keyboard setting on iOS (I think it is reasonable to expect kb users to know and activate that setting), everything is indeed keyboard-accessible (in some way). If that would be the line we take, it seems there wouldn‘t be a big difference to applying WCAG undeviated? How would we treat keyboard SCs like 2.1.1 and 2.4.3 in a context where we do embark on a deviation? This is not a rhetorical question. In practical terms it could mean that a less stringent implementation of keyboard focus order would be acceptable (some deviations of order? - A wild mix of tab and arrow keys? Or accepting that for reaching some UIE, kb users would need visual feedback to move arrow keys — provided that in a screenreader + touch mode of use, SR focus does reach everything sequentially)? |
Discussed in today’s meeting. 30 October 2024
|
Having read the article on Android accessibility: Roles and TalkBack by Greame Coleman and raising the issue of conformance assessment in the a11y slack channel > mobile testing, I wonder if our advice can pin down what native elements in iOS / Android come with their baked-in role, whixch ones don't and which ones may be OK without any extra role assigned. The example in Graeme's article is This also relates to @jamieherrera's issue above regarding roles of non-interactive elements (such as lists, images). I think this is somewhat easier: I would generally argue that there is a trade-off between suppying role information on these: for example, it may be useful to know that a menu implemented as list has 14 entries, but it also increases the verbosity and may be distracting. So I tend to pass cases where from a usage perspective, I am led to believe that there is no real issue when role info is missing. |
Hi @detlevhfischer I agree such information would be very helpful, and fitting for our group to determine. But, that would probably be an Understanding document, which is not planned in this phase. For the SC text, I think that we need to consider adding an exception that covers situations such as Android's menu item that does not have a role by default AND can (easily) be set by the author either. 4.1.2 does not have an exception for controls provided by the user agent or platform software.
On Android and iOS, the standard controls do not always meet this success criterion. WCAG2ICT modifies the Note above:
where "already meet" has been toned down to "most already meet". But what happens to those components that are not part of "most"? WCAG2ICT adds two more notes:
once again, using "most" and
using "often" I think we should add the exception in the SC text itself. Something like:
And then we could add a note with some common cases where default user interface components fail 4.1.2? Later we can build that out in an Understanding doc. |
Role information on product tiles, naming of buttonsI would like to discuss a very common scenario and raise questions regarding necessary role information and necessary labels. The tile is interactive and goes to a view showing the individual product enlarged and with scant additional information. The tile has no role info like button, despite being interactive. However, when "speak usage hints" under Accessbility > TalkBack > Verbosity is set, the system generates "doubletap to activate". From a screen reader usability perspective, grouping the product price name and info in one focus point has the advantage that navigating from product to product is speedier than going through the individual elements individually. Information can be accessed individually when navigating by paragraphs. The question arises whether the lack of role information on the product tile (e.g. role "button") is a problem here that would be a FAIL of 4.1.2 Name, Role, Value (applied to mobile). The next focusable element after the tile is a button with a clear name ("add to shopping list") and the appropriate role, even though the context (what is the product to be added to the shopping list) is only available on the preceding focus point. Disregarding the navigational context, the button may be considered to fail 2.4.6 Headings and labels (applied to mobile). Adding the product name to the button text, however, would make the output a lot more verbose, so there is a trade-off between sufficient label text disregarding navigational context, and usability considering the common navigational context, where each product description is followed by the same generic button. My personal view is that in this conventional and repetitive context, the lack of role information on the interactive product tile and the lack of specific name on the following action button are not practical problems. If so, it is unclear how to define any exceptions for 4.1.2 and 2.4.6. The normative text does not seem to afford such exceptions. @JJdeGroot I realize this is unlikely to go into notes at this point and more likely to inform a future understanding text - but I guess it is a pressing question for many people conducting audits of mobile apps. |
WCAG2ICT guidance: https://www.w3.org/TR/wcag2ict-22/#name-role-value
Share your thoughts for applying to mobile apps as a comment below.
The text was updated successfully, but these errors were encountered: