WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: single page app with language switching button

for

From: Steve Green
Date: Oct 1, 2020 12:39PM


I would say that you need to refresh the page, even if you don't want to. I know that one of the whole points of a single-page application is to avoid reloading pages, but this is a choice and it is completely unnecessary. You broke it, so you fix it. It's not as if people will be changing language very often, so it doesn't matter if the page reload takes a few seconds and looks a bit clunky.

I don't know if it would even be possible for you to force assistive technologies to refresh their virtual buffer or whatever else would be required to change the synthesizer language, but it seems like bad manners even if you can.

Sorry if this seems a bit harsh, but I am heartily sick of bad development choices manifesting themselves as accessibility problems, and then we're the bad guys for asking the developers to fix them. The use of a single-page application is never essential. It's a choice and it has consequences.

Steve Green
Managing Director
Test Partners Ltd