-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[4.0] [a11y] [NO CACHE] Make media manager browse view work with keyboard navigation #23950
Conversation
Ok the toolbar role/label change is easy to do. What’s the recommended markup for the breadcrumbs? Should be easy enough I’m leaving the checkboxes for another PR. Implementing a form element is going to be complicated and is not something I want to try doing as part of this PR |
Look at the breadcrumbs module o think that's correct |
<nav role="navigation" aria-label="COM_MEDIA_BREADCRUMBS">
<ol class="media-breadcrumb">
<li class="media-breadcrumb-item">
<a href="#">images</a>
</li>
</ol>
</nav> |
9980e29
to
d5e62bc
Compare
OK Fixes to toolbar - it now has a |
d5e62bc
to
ed2aa29
Compare
I think that's everything covered aside from the checkboxes you guys have asked for |
ed2aa29
to
1084bdf
Compare
administrator/components/com_media/resources/scripts/components/browser/items/file.vue
Outdated
Show resolved
Hide resolved
administrator/components/com_media/resources/scripts/components/browser/items/image.vue
Outdated
Show resolved
Hide resolved
administrator/components/com_media/resources/scripts/components/toolbar/toolbar.vue
Outdated
Show resolved
Hide resolved
cff49fc
to
dc32c57
Compare
@brianteeman Would you be ok to the changes of an action list to type button - it is just as simple as changing the markup where you commented - but the styling is more complicated and I don't really have a huge amount of time to invest into trying to make it all work nicely |
The button change makes the system tests fail - I think joomla/test-system#52 should fix that. Once you guys are happy with this PR i'll merge that up front Back to the stage of I think it's only the checkboxes left |
For the checkboxes see #23970 |
@wilsonge : read about links vs. button: Links vs. Buttons in Modern Web Applications |
So can we run a last test on this and ensure that only the checkbox issue is left to solve in a separate place? |
@wilsonge : Which files have you changed? |
I will try to find some time tomorrow to take a look. because of the npm it takes a long time to build on windows (as you saw) |
|
3b83e77
to
81f3bbc
Compare
Done 1 and 3. I've done 2 and 4 on the image thing only. Unfortunately I need to head out but will try and find some time to do them on directory, file and video areas later today |
81f3bbc
to
d75e93e
Compare
Pushed - @zwiastunsw this should cover all the things you mentioned |
@zwiastunsw @brianteeman Can you guys give this a final test - I understand there's more to do - but I'm being dragged back onto management responsibilities - handover to Harold and merging in j3 etc. So would like to get this in asap as a step in the right direction and then we can build up a list of next steps/you guys can try this yourselves (i promise it's not that bad!) |
@wilsonge I will try to find some time tonight - I am working on some stuff for the marketing team thats taking my available time |
@wilsonge: We've made an appointment today for a Skype session |
29a60d0
to
6bcf442
Compare
Is it perfect - no If the non graphical view was also fixed then I believe that would be a reasonable accommodation |
I'm going to do something separate for the list view - I was having issues with the icons showing - I can push what I had tonight - because I don't think it was a JS issue - it seemed something CSS - that I'm sure i was just being stupid with |
The increase/decrease grid size buttons in the media manager have aria-hidden=true This change was made in joomla#23950 at the request of @zwiastunsw joomla#23950 (comment) I dont understand why that request was made but at a minimum its implementation is wrong A focusable element with aria-hidden="true" is ignored as part of the reading order, but still part of the focus order, making it’s state of visible or hidden unclear.
The increase/decrease grid size buttons in the media manager have aria-hidden=true This change was made in #23950 at the request of @zwiastunsw #23950 (comment) I dont understand why that request was made but at a minimum its implementation is wrong A focusable element with aria-hidden="true" is ignored as part of the reading order, but still part of the focus order, making it’s state of visible or hidden unclear.
This fixes the browse view aspect of what's discussed in #23932 (please do not close that issue as the list view is still to be worked on)
Fixes various a11y issue keyboard navigation issues in the media manager browse view