-
Notifications
You must be signed in to change notification settings - Fork 2.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
Accessibility: "Save and publish" has a drop down that can't be accessed via keyboard #5884
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…pdown to let screen readers know the context/connection of the elements
…tyling aligns with the current one
BatJan
changed the title
Improve accessibility of the "Save and publish" dialog
Accessibility: "Save and publish" has a drop down that can't be accessed via keyboard
Jul 21, 2019
Hi @BatJan Lots of wonderful work here, thanks. We'll be in touch if we need anything from you. Emma |
# Conflicts: # src/Umbraco.Web.UI.Client/src/less/navs.less # src/Umbraco.Web.UI/Umbraco/config/lang/da.xml # src/Umbraco.Web.UI/Umbraco/config/lang/en.xml # src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
Yay, finally!! 🎉 |
This was referenced Sep 7, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prerequisites
This fixes issue 5 from #5277
Description
Visually there is nothing changed with this PR - It all looks like it did before my changes. However a few things have happened under the hood.
<a>
tags have been replaced with<button>
tags in general1.1 Due to this some styling changes have been made so that the
button
tag is also being targeted just like the<a>
tags currently is in the CSS.5: A hidden text has been added inside the to provide screen readers with some context on what they can expect to find when clicking - This means the directive has been extended with a label and a label-key, which are optional since there are other places that will need to have such a text passed too at a later stage and making them optional so we don't risk breaking anything 😅
I think this pretty much sums up the changes that have been made - And as mentioned nothing should have changed visually but hopefully things have improved for screen readers.
Huge thank you to Danny Lancaster for a good discussion about the ins and out's of this PR 🙌