-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Improve accessibility with more visible focus indication for non vue apps #31584
Conversation
84506da
to
6124d8f
Compare
60e690f
to
f5b6ef9
Compare
a1fe494
to
61c506a
Compare
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.
See comments
I just rebased everything and fixed/commented on the review from @skjnldsv :) |
some visual issues:
apart from that it looks rather good! I found some elements that are not focussable yet like the expanding arrow in the left sidebar, likely something for a separate PR as it's not directly related |
@CarlSchwan regarding the left navigation, I suspect that we'll want to add this focus border also in nextcloud-vue so we need to make sure there is no conflict there when it happens. can you check if the issue you fixed is specific to the files app navigation panel or affects other apps ? |
Thank you for working on this issue and taking over accessibility topics! And sorry for late response! I think there are a lot of stuff which are related to all components (nc-vue). Sorry if i have missed something, but why this changes are not in nc-vue, but here? Have you fixed mostly visual stuff in this ticket? (or have you also adopted it to screen reader)? *not all buttons have (aria-label) "Shares" on the left sidebar have 2 stops. Some Focus of this dropdown menu will not go away with Esc (will not disappear) And i think some of this visual issues would be better done in nc-vue? (@skjnldsv or i'm wrong in this point?) @CarlSchwan sorry if i checked "too much". It is great, that you work on it! I think it would be better to split this "elephant" improvements into smaller tickets - would be better to work on and to review! If you want - i could take over of a part of this tickets, you should't be alone =)) |
These changes are mostly for the parts that are not yet ported to vue. E.g. the files app and the navbar.
It's mostly about keyboard navigation where having a focus effect visible is important. Screen reader navigation is a separate task unfortunately :(
Looks correct to me Let's move that to another PR, it's fairly separated from the rest of this PR in the cod and like you already this PR is already big.
fixed fixed
preexisting issue :( Probably for the contact view it would be easier to port it to vue than to fix it
I fixed the patch to make even more sure we don't modify vue apps, as like you said those should be modified in nc-vue This is not a vue app so we can't use nc-vue here :(
One stuff we could separate is the contact search who like you pointed out is not really working (both visual focus and keyboard navigation) |
Resolves #31239 |
825bdd4
to
7b33766
Compare
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.
👍 let's move forward
Need a rebase :) Going to do it today and then merge it |
…apps - Add visible-focus effect on each header entry - Show focus outline when using focus-visible (keyboard navigation) - Add polyfy for focus-visible since it's only very recently available on webkit - Change text for link to home button to describe the destination and not the current page - Improve focus effect in app sidebar navigation Signed-off-by: Carl Schwan <carl@carlschwan.eu>
7b33766
to
c149951
Compare
Add a focus effect on each header entry
Add a focus effect on app navigation
Add a focus effect on menus
Add a focus effect on file app
Add a focus effect on non vue input elements
Show big focus outline when using focus-visible instead of focus
Add polyfill for focus-visible since it's only very recently available on WebKit
Add a few small screen readers improvements in the file app (checkbox)
I used https://www.sarasoueidan.com/blog/focus-indicators/ to make
sure the focus effect was WCAG 2 and WCAG 2.1 compliant.
Signed-off-by: Carl Schwan carl@carlschwan.eu