Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 337

phpBB Discussion • Suggested a11y improvement

$
0
0
From this topic: Link to quote
ETA: Incidentally, in default form that link is terrible for a11y. It has no available description of what it does, not even the dreaded title attribute. Obviously a pseudo won't help for screen readers either. It really needs a proper language string.

Out of the default language strings, the most likely suspects for hijacking are probably these:

Code:

'POST_DISPLAY'=> 'Display this post','JUMP_TO_PAGE'=> 'Jump to page',

Either of those would be a reasonable fit for this purpose. The relevant code seems to be this (prosilver/template/bbc.html):

Code:

<a href="{@msg_url}" data-msg-id="{@msg_id}">&#8593;</a>

So you could change that to one of these options:

Code:

<a href="{@msg_url}" data-msg-id="{@msg_id}">{L_GOTO_PAGE} &#8593;</a>

Code:

<a href="{@msg_url}" data-msg-id="{@msg_id}">{L_POST_DISPLAY} &#8593;</a>

Statistics: Posted by Gumboots — Sat Aug 03, 2024 11:18 pm



Viewing all articles
Browse latest Browse all 337

Trending Articles