Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVDA ignores aria-label on <input> and <label> elements when in reading mode #9764

Closed
JamesCatt opened this issue Jun 17, 2019 · 3 comments
Closed

Comments

@JamesCatt
Copy link
Contributor

This may be the same issue as #7029 but not sure.

Steps to reproduce:

Apply an aria-label to either an input or a label like so (behavior is same for both):

<label for="myInput" aria-label="Something">Name</label>
<input id="myInput" type="text">

or

<label for="myInput">Name</label>
<input id="myInput" type="text" aria-label="Something">

Actual behavior:

When in reading mode, NVDA announces the following (copy/pasted from speech viewer when used with Firefox, blank lines preserved):

Name

edit has auto complete

Note: When focusing the input in forms mode, the aria-label is applied correctly:

Something edit has auto complete
blank

In IE 11, the details of the edit field are announced differently, but the aria-label is ignored in the same fashion.

Expected behavior:

field is announced with aria-label applied, regardless of reading mode (visible label could be read in addition to aria-label, but aria-label should not be excluded).

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

2019.1.1

Windows version:

Windows 10 Enterprise 2016 LTSB v1607

Name and version of other software in use when reproducing the issue:

  • Firefox 67.0.2 x64
  • IE 11.2969.14393.0
  • Bug does not occur in Chrome 74.0.3729.169

Other information about your system:

Other questions

Does the issue still occur after restarting your PC?

Yes.

Have you tried any other versions of NVDA? If so, please report their behaviors.

Same behavior in 2018.3.2

@Adriani90
Copy link
Collaborator

@JamesCatt could you please provide a minimal test case or a website where we can reproduce this? Thanks.

@ChristAsselin
Copy link

@Adriani90
A minimal test case from our application.
https://output.jsbin.com/cujolaboba
Look for Wed, Sat, and Sun in the exemple

@Adriani90
Copy link
Collaborator

Closing as duplicate of #12177 which contains a bit more discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants