FreedomScientific / standards-support

Contains documentation for Vispero software support of Web standards
https://freedomscientific.github.io/standards-support/
GNU General Public License v3.0
111 stars 13 forks source link

JAWS doesn't read aria-describedby text on <input> type="text" while the same is read out by NVDA #839

Closed ashankggupta closed 6 months ago

ashankggupta commented 6 months ago

Summary

I have input fields where there are fields to provide the distance of office from home and number of hours worked, where the text "Miles" and "Hours" are visually present after the text field. I am associating the texts "Miles" and "Hours" with the input text fields using aria-describedby but JAWS does not reads out the text, while the same issue cannot be replicated in NVDA.

If yes, how many miles was it? input text field miles

Expected result

JAWS should read, "If yes, how many miles was it? edit required miles"

Actual result

JAWS reads , "If yes, how many miles was it? edit required".

Example

<input type="text" maxlength="4000" id-"textManyMilesYes" class="form-control form-control-sm" aria-required="true" aria-describedby=lblManyMiles" arai-label=""> miles

image

Additional Information

The additional info or description for the fields associated using aria-describedby attribute are not read out by JAWS.

JAWS version and build number

2023.2302.15

Operating System and version

Windows 10

Browser and version:

Chrome 124.0.6367.209

stevefaulkner commented 6 months ago

tested with chrome 124.0.6367.208 (Official Build) (64-bit) and JAWS 2404.2403.3 could not reproduce

test case

ashankggupta commented 6 months ago

tested with chrome 124.0.6367.208 (Official Build) (64-bit) and JAWS 2404.2403.3 could not reproduce

test case

@stevefaulkner - I am not using aria-label rather there is a label text which is associated with the input field and aria-label is coming as blank from the backend. Could please check with the visible label association and provide an update? NOTE: I also think that this issue is with JAWS 23 and not with JAWS 24. Thanks!

stevefaulkner commented 6 months ago

@ashankggupta could you provide a usable example of the code you are using?

ashankggupta commented 6 months ago

tested with chrome 124.0.6367.208 (Official Build) (64-bit) and JAWS 2404.2403.3 could not reproduce

test case

@stevefaulkner - Please check the below code.

[<label` for="textManyMilesYes"> If yes, how many miles was it? </label>]

<input type="text" maxlength="4000" id-"textManyMilesYes" class="form-control form-control-sm" aria-required="true" aria-describedby="lblManyMiles">
<span id="lblManyMiles"> miles </span>]
stevefaulkner commented 6 months ago

@ashankggupta added your code as another test case.

steps to test:

  1. use f key or tab to navigate to each text box
  2. observe output, for each textbox

JAWS output:

Speech History

[label] If yes, how many miles was it? Edit Required blank [description] miles Type in text.

Type in text. [label] If yes, how many miles was it? Edit Required blank [description] miles Type in text.

ashankggupta commented 6 months ago

@ashankggupta added your code as another test case.

steps to test:

  1. use f key or tab to navigate to each text box
  2. observe output, for each textbox

JAWS output:

Speech History

[label] If yes, how many miles was it? Edit Required blank [description] miles Type in text.

Type in text. [label] If yes, how many miles was it? Edit Required blank [description] miles Type in text.

@stevefaulkner - I have tested the code pen example you provided and JAWS is not reading the description text for me while navigating the fields using TAB key. However, the description text is being announced using 'F' key.

Is this something known in JAWS 23?

stevefaulkner commented 6 months ago

Is this something known in JAWS 23?

I am unsure, but as it works as expected in 2024, am closing this issue