veteransaffairscanada / vac-benefits-directory

Find benefits and services
https://benefits-avantages.veterans.gc.ca
MIT License
14 stars 14 forks source link

When switching to a new page, voiceover doesn't announce the new page title or header #1478

Open smcmurtry opened 5 years ago

smcmurtry commented 5 years ago

This happens both with next/link and with setSection onClick events in the guided experience.

smcmurtry commented 5 years ago

Accessibility: Screenreader Navigation

brdunfield commented 5 years ago

@smcmurtry was this closed by #1649?

smcmurtry commented 5 years ago

@brdunfield no that PR just solved the issue for /benefits-directory. The issue still exists for all the other pages.

smcmurtry commented 5 years ago

Now that the GE has been split into pages this should be easier to solve. I've noticed that clicking the back link (not browser back) has the correct behaviour where the page title is announced and focus goes to the top of the page.

smcmurtry commented 5 years ago

I've now tried putting autofocusing headers into the GE, but this doesn't seem to affect the voiceover focus (which is different from the keyboard focus btw). This is weird because I based the autofocusing off of what IRCC did and theirs does seem to affect the voiceover focus: https://vancouver.rescheduler-dev.cds-snc.ca/register

JuliannaR commented 5 years ago

@smcmurtry if your having troubles, something could be a bug with voiceover, can you try validating with NVDA? If not, send it my way and I can see if I can help.

smcmurtry commented 5 years ago

@JuliannaR If you could try to reproduce this issue with another screen reader that would be a huge help! I only have access to voiceover currently.