-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[a11y] 11.4.1.2 Name-role value #4454
Conversation
7495de5
to
c0c62be
Compare
Some technical stuffs to take in account:
Assigning an The problem is that you need to associate an actionview to the item, but this returns null. Searching on the internet it is recommended to manually assign a view to the item. But that hasn't worked either. This element is not going to be changed due to the current behaviour is the following: when you click in this element the talkback said
These are not buttons, they work as informational text. In any case, these elements have been labeled with the corresponding switches in this pr #4448 related to this issue #4363
About the Spaces heading, at the moment we are going to set the talkback in this element like "Search button" in all toolbars. This report is contradictory with another accessibility report #4362 we had where we were asked to put the Space title as a heading and now they tell us to give it the role of a button. I think both labels should not coexist, either it is a button or it is a heading. But you have to know there is a issue #4452 opened to discuss about the behavior of the Toolbar and the SearchView. The proposal is divided the title and the search icon in differents elements, so when only when the search icon is clicked the search view will be opened.
For the menu that opens from the toolbar when clicking on the three dots, we have the following cases: FileFragment: Then, in these three classes ( Finally, in MainFileListFragment: On the other hand, we have cases where the FileDisplayActivity: PreviewVideoActivity: You'll notice that we haven't consistently used the same attribute to define a role. For example:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
QA checks: Personal Space
Fixed
Fixed
Fixed Menu
Fixed. But, the clickable area is too small, difficult to click
Fixed. But, the clickable area is too small, difficult to click
Fixed
Fixed Edit shared Link
Fixed Spaces
Fixed, but the role is dictated before the name of the item. No way to reverse Manage Account
Fixed, but the role is dictated before the name of the item. Image Viewer
Fixed |
(1) [FIXED]The "Sort By" menu in the list of files is always dictated by talkback as "Sort by name", no matter if the selection is "Sort by date" or "Sort by size" Pixel 2, Android 11 |
(2) [FIXED]Not sure if this one is part of the current PR, but probably a quick one to fix: The mini FAB option for Let me know if it should be moved to a different issue. Pixel 2, Android 11 |
(3) [FIXED]The elements on the list of items in the drawer is dictated as "x of 7", as 7 elements are in the list. But, there are only 5. Any reason? something fixable? Pixel 2, Android 11 |
(4) [FIXED]About the expiration date, you stated:
the "expiration" text is not a button, so that's correct but, the expiration date is a button used to open the date picker in case of updating the expiration date. It should have a role. Pixel 2, Android 11 |
(5) [WONT FIX]About the space cards. Talkback dictates something like: "Button ..." Is that intended? in any other element, the role (Button) is dictated after the name of the element, not before. Is that right? Pixel 2, Android 11 |
(6) [WONT FIX]Same as (5), but for items in the list of accounts inside the Pixel 2, Android 11 |
Here the problem is there are two items that never use. I don't know why. The specific items are: |
These two |
Ok, let's go with this option yes. |
Please, be sure first that no branding option is affected. |
Related to report 5 and 6, it is how |
About report (1). Now the correct method of sorting is dictated correctly. But, i realised that an |
is that checked and correct? |
Yes, it is checked, drawer_menu.xml is the only place where these items are referenced. |
The problem is that when you click on one of the |
is there any doc or something that proves that? or just a guess?
this is a completely different scenario. And also, saying "ownCloud" when you click on "Wait" does not sounds as something correct. |
The |
I noticed that |
We could try to handle the fragments using for example this code: I have tried several things. For example, using the So, the solution that is working is to modify the |
why? the label will help the visual impaired person to know where he/she is after an activity change. If the part of the fragments work fine (i don't know at this point), it could be useful. |
Everything relate to the label in activities and fragments will be done in this issue #4458 |
5459d1d
to
2c3a1c9
Compare
After latest checks, ready to go. |
2c3a1c9
to
4e99414
Compare
Related Issues
App:#4373
ReleaseNotesViewModel.kt
creating a newReleaseNote()
with String resources (if required)QA
QA checks: #4454 (comment)
Reports:
Sort By
always dictated with "Name" option [a11y] 11.4.1.2 Name-role value #4454 (comment) [FIXED]Upload
option in FAB [a11y] 11.4.1.2 Name-role value #4454 (comment) [FIXED]