We have inherited the maintenance of a 10+ year old website which has a few links in it that force the link to be opened in the current tab. You can't right click on the link and open in new tab, or even copy and paste the url, because it uses javascript and a doPostBack (no idea why, old, old code).
Anyway, I know it's poor user experience, as it's essentially a list of results and you would definitely want to open them in new tabs, also it's crazy to try and stop default browser behaviour.
But I'm wondering if there is anything specific in WCAG2.0 that says that we can't be doing this? I'm trying to make a case to have it changed, but poor UX won't be enough. WCAG however will get it over the line. Is anyone able to point me to anything in the web content accessibility guidelines that explicitly says that a website shouldn't do that?
Much appreciated.
If the link itself has no href
attribute, then it is not keyboard navigable (SC 2.1.1). However, the use of doPostBack
makes me think this is ASP.NET 1.0, which stuffed piles of script into every href
, so it may be totally accessible to keyboard users.
Otherwise, no. There is no specific Success Criterion in WCAG 2.0 that seems to address your case. There are two that could be stretched with some arguing, but somebody could just as easily argue they do not fit:
In each scenario, if you make your case successfully, the solution is more text. This is not what you want. Unless you can then argue that more text is ugly / difficult to implement / etc. and then use that to justify allowing the links to open in new tabs/windows.
But there are a lot of dependencies to getting to that point (namely, buy-in on the SCs applying).
Overall, I agree that the scenario you have outlined is terrible UX.