-
Notifications
You must be signed in to change notification settings - Fork 9
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
Page navigation is not announced by screen readers #700
Comments
Miiiiight have resolved this with #776 . We'll need to test. |
Having Next swap the page title does not trigger a new announcement. |
(776 did not fix it) |
The library mentioned in the React a11y talk (around 33 minutes in) is react-aria-live. |
Hmm, so I am attempting to work on this now and am finding some oddities:
|
Um, I ended up creating two very simple pages and navigating between them, and it seems like the component is always re-mounted at least once, which is surprising. This seems to be documented at vercel/next.js#1966. Because the ARIA live region really needs to be there and remain there all the time, unmodified during existing, we may need to add a live region in the document template thingy at |
I was just watching the react a11y talk and realized that we might not be announcing page transitions when the user navigates on the site. I just verified that indeed, we are not: when the user enters a search term on the homepage, or navigates to a policy's detail from the search results, a loading indicator is shown and the new page is eventually navigated-to without any feedback whatsoever from the screen reader.
Note that this is related to #699, as we probably want the new page's title to be announced when navigation is complete (which necessitates having different titles for different pages).
The text was updated successfully, but these errors were encountered: