-
Notifications
You must be signed in to change notification settings - Fork 493
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 - fix keyboard focus for popups/dialogs (e.g. support), change secondary form button (e.g. cancel) style #5717
Comments
Hi @kaitlinnewson, thanks for opening this issue. We are working on improving accessibility when working on related functionality. Its helpful to raise the visibility of this and other accessibility issues. Have you come across any best practices for addressing accessible popups? |
Hi @TaniaSchlatter, this article from uxplanet outlines some best practices (both for ux and accessibility): https://uxplanet.org/best-practices-for-modals-overlays-dialog-windows-c00c66cddd8c |
I also found an accessibility plugin for Bootstrap that addresses popup focus. I am not sure if this might be a fit, but the team will review these references and make a plan. https://github.com/paypal/bootstrap-accessibility-plugin. |
Was able to add a PrimeFaces In addition to making sure the first input of the form receives focus, we will be changing the "Cancel" btn styles to deemphasize the secondary action, by using the Updated issue title to reflect full scope of the issue -- Accessibility - fix keyboard focus for popups/dialogs (e.g. support), change secondary form button (e.g. cancel) style NOTE -- Redacted outdated and obfuscated checklist in an attempt to generate a clearer outline of all the moving parts in a comment on the pull request. BUG1 -- the
BUG2 -- existing bug and confirmed in demo, the Save Changes btn in dataset-widgets.xhtml, "themeWidgetsForm" does nothing when clicking without making changes, and it would intermittently do nothing when using return key to submit. |
Style Guide: primary button is styled differently #5717
I just scrolled through the thousands of lines of code changes in pull request #5903 as of fd05813 and nothing jump out at me as being wrong or bad (the addition of Toward that end @mheppler has provided a long and extremely detailed list of what to test at #5903 (comment) When I say long and detailed, I really mean it. Here's a thumbnail of how long the list is: This strikes me as more than "Medium". I went ahead and spun up the branch to get a sense of how the buttons look. Here are a couple examples. Note how "Cancel" is just a text link: I think having the primary button be emphasized like this will increase the usability of Dataverse so I'm excited about this change! Developers, please note that this change has also been noted in the Style Guide in 62642ef. |
Issues so far: |
Reverted my passwordreset changes to resolve the issue @kcondon reported above. There is a lot going on with that page that needs to be address, and I have found a recently opened issue (#5462) that is the perfect place to park all these related UI/UX issues I discovered. Found that the dataset versions tab issue reported above was due to the test dataset on dataverse-internal containing a previous version that was deaccessioned, which resulted in the View Differences btn and checkboxes not to be rendered. Reported all of this in my really, really, really long comment in the PR, as well as in Slack, directly to Kevin. Should be good to re-QA, confirm and ship ⛵️. |
Tested in 4.10 and 4.11 in both Scholars Portal and Harvard Dataverses, in Firefox and Chrome (OSX).
When opening an overlay, e.g. the Support form, the user's keyboard focus should go there. The overlay is automatically added to the end of the tab order, meaning the user has to tab through the whole page underneath before they can get to the overlay window.
The text was updated successfully, but these errors were encountered: