Search code examples
htmlaccessibilitywai-ariajaws-screen-reader

How can I ensure punctuation as access-keys are read correctly by screenreaders like JAWS?


Suppose a link has access key of "Alt + . "

<a  title=" some content (Alt+.)"> some content </a>

The problem with screen readers is that they will interpret the . or , as long or short pauses and don't actually inform screen-reader users of the punctuation mark. This is in default JAWS setting of "most" for verbosity of punctuation.

I thought of changing the Alt + . as Alt + . (dot). But that will read out the '(' and ')' as well.

changing the Alt + . as Alt + . dot works fine for screen reader users, but the tool-tip will become confusing as it sees Alt + . dot

How do we fix this? JAWS setting should not be changed from "most" to "all". This workaround is not accepted.


Solution

  • Change the text to precisely the way you want it announced. For example:

    <a  title=" some content (Alt+.)" aria-label="some content (Alt plus period)"> some content </a>