standards-support icon indicating copy to clipboard operation
standards-support copied to clipboard

Some characters in the placeholder are output with \

Open JAWS-test opened this issue 4 years ago • 3 comments

Summary

  1. https://codepen.io/jaws-test/pen/jOVLJeB
  2. Tab to the inputs

Expected result

placeholder and aria-placeholder are output correctly

Actual result

Chrome, Edge, Firefox:

  • Some characters like (, ; = ) in placeholder and aria-placeholder are output with preceding backslash.
  • The problem does not occur when the placeholder is used as an Accessible Name (third input in the example).
  • The problem occurs in all tested JAWS versions (2019, 2020, 2021).
  • Since the placeholder is correctly submitted to the Accessibility API, it appears to be a JAWS bug.
  • There are many punctuation and special characters where the problem does not occur
  • The problem does not occur with NVDA

Additional Information

JAWS version and build number

Current version of JAWS 2019, 2020, 2021

Operating System and version

Windows 10 Windows 8

Browser and version:

Current version of Chrome, Firefox, Edge

JAWS-test avatar Feb 21 '21 04:02 JAWS-test

Behaviour confirmed for JAWS 2021/Chrome, FF, Edge: placeholder="place, holder" announced as "place backslash holder". Also occurs for,

<label for="a">My label</label>
<input id="a" placeholder="place, holder"  />

StephenBeckettTPGi avatar Mar 16 '21 10:03 StephenBeckettTPGi

For testing purposes, all forms of an <input> having a label associated with it cause the problem.

<!-- <label> with FOR attribute -->
<label for="newid1">junk1</label>
<input placeholder="city,state" id="newid1">

<!-- implicit label -->
<label>junk2
  <input placeholder="city,state">
</label>

<!-- aria-labelledby -->
<label id="newid3">junk3</label>
<input placeholder="city,state" aria-labelledby="newid3">

<!-- aria-label -->
<input placeholder="city,state" aria-label="junk4">

An <input> without a label does not say "backslash"

  <input placeholder="city,state">

sasgrw avatar Apr 12 '22 01:04 sasgrw

Still occurs in JAWS 2023. I have an input with a placeholder of HH:MM. JAWS announces the ":" with a backslash.

Any updates or workarounds for this?

MotassemJa avatar Feb 14 '24 06:02 MotassemJa