-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
Fix page changes not being announced by assistive technology when navigating using the client-side router #5288
Conversation
✅ Deploy Preview for volto ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for plone-components canceled.
|
@plone/volto-accessibility Could we test this / discuss the implementation? |
hey @JeffersonBledsoe I don't have time until the wk busy with some bugs :( I added a calendar entry so I don't forget about it :) |
Status report on testing the feature as part of the Salamina sprint:
Tomorrow we will hopefully talk with the A11y expert that Red Turtle has asked to participate and hopefully get some |
After further discussion with an accessibility consultant at the Salamina sprint, it was concluded that the current behaviour is acceptable. Only with more user testing can we concretely decide what to do with focus and so leaving the focus where it is on page change is an acceptable behaviour for now. |
@ichim-david This is finally ready! Not sure if we need review from a non-a11y perspective, I'll leave that up to you |
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.
@JeffersonBledsoe you have locking changes that doesn't belong to this pull request and you also set it.only on locking.js file
@JeffersonBledsoe you probably needed to change the selector to be more specific, but it.only shouldn't be there still |
Good catch on the |
…ends up focused on this
@ichim-david I applied the fix we discussed at the sprint. It doesn't seem to impact anything and the new fixed behaviour is good but is a good safeguard anyway incase somebody does end up with focus on it somehow |
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. Nice feature.
* main: (111 commits) Moved `applyBlockDefaults` one component up so the style is computed correctly (#6451) Fix useSelector is returned a different result when called with the s… (#6450) Fix page changes not being announced by assistive technology when navigating using the client-side router (#5288) BlockStyleWrapper aware of block themes (#6445) A11y: Wrap ToC Block within nav tag (#6084) Fix backend error when there is no query supplied (#6423) Added upgrade guide fix for HMR (#6446) Fix CSS lint in Volto Slate (#6444) Release 18.0.0-alpha.47 Release generate-volto 9.0.0-alpha.20 Release @plone/scripts 3.7.0 Release @plone/registry 2.0.0-alpha.0 Improve @plone/registry release-it config `@plone/registry` as ESM module, move to TS, complete documentation (#6399) [Next.js] Better Vercel deployment (#6441) Replace all `yarn` appearences with `pnpm` (#6433) Add deprecation notices to the Upgrade guide (#6426) Clean up #6422 (#6443) Rename page title from Frontend to Volto UI (#6438) URL-Management control panel: Add missing translations (#6436) ...
Create a mutation observer on client-side load that tracks when the
<title>
element contents changes and updates an aria live region to announce the page change. Needs cross-browser and cross-screen reader testingFixes #4724
TODO