Skip to content

Chrome and Opera speak words in alert twice when semantic elements like <strong> and <em> are included. #4066

@nvaccessAuto

Description

@nvaccessAuto

Reported by digitaltoast on 2014-04-10 10:51
Hello - first ticket here.

In Chrome, Opera and presumably other webkit-based browsers I've not tested yet, if an alert contains semantic tags such as or then it reads each section twice.

Exmaple:

<div role="alert"><p>The<em>emphasis</em>is on staying<strong>strong</strong>today</p></div>

Will read:

The The emphasis emphasis is on staying is on staying strong strong today today.

Notes:

  • The P inside the div is the NVDA-suggested workaround for IE not reading the alert at all.
  • It doesn't matter how I inject it, what I wrap it in, how I add or change the alert, or which of the 4 current workarounds for alerts not speaking I use, it always behaves like this.
  • This is NOT the same as "reads entire alert text twice" which is a seperate ongoing issue for which several other longstanding tickets are still open.
  • I've googled and searched the bug tracker and haven't found anything yet related to this issue.

Is this a webkit issue that I should report to them, or an NVDA issue, bearing in mind it's only NVDA that exhibits this behaviour - as far as I know.

Example valid html without any other javascript, hacks, fiddles, workaround or other hocus-pocus to demonstrate the issue.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body dir="ltr">
    <div role="alert">
        <p>The<em>emphasis</em>is on staying<strong>strong</strong>today</p>
    </div>
</body>
</html>

This is currently also up at http://goo.gl/6FXRft but that's just a temporary testing ground so may not remain in the future.

Hope I've submitted my first ticket OK, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions