Labels for certain fields are not announced by JAWS. As an example within the “Content” screen, a field type list box is announced by JAWS as “List box -View All-”, instead of first announcing the label as, “Label list box -View All-”.

The defect exists in Google Chrome v54.0.2840.99 m and does not exist in IE 11.

Expected result: All labels for form fields are expected to be announced by JAWS. In this instance, JAWS is expected to announce, “Label list box -View All-”.

Reference: Section 508, Part 1194.22, Paragraph (n).

Comments

carloqb3 created an issue. See original summary.

carloqb3’s picture

Title: Labels for certain form fields are not announced by JAWS (Content Editor) » Labels for certain form fields are not announced by JAWS
Issue summary: View changes
carloqb3’s picture

Similar issue outlined in this ticket also occurs in the Legends.

Legends for certain fields are not announced by JAWS. As an example, On a grouped field, the legend's text does is not announced. As an example if the legend 's name is "Contact Information" and a combo box field called “Title” combo within the Contact Information is accessed, JAWS announces, “Title combo box –None- 1 of 7”. Instead, JAWS is expected to first announce the legends as “Contact Information Title combo box –None- 1 of 7”.

• Testing was performed with SEC Approved Software, JAWS v17.0.2616.
• This defect exists in IE11 and in Google Chrome v61.0.3163.100.

findleys’s picture

Version: 8.1.x-dev » 8.2.8
Issue tags: +Accessibility

This appears to be an issue for all select forms. The first option in the list is being read instead of the label.

findleys’s picture

Version: 8.2.8 » 8.5.x-dev
mgifford’s picture

Is there an upstream issue we should point to in Chrome?

Seems like it might be a browser specific, or even release specific bug.

findleys’s picture

There is no upstream issue that I am aware of. But yes, this does appear to be a Chrome specific issue.

mgifford’s picture

@findleys - can you submit a bug report and provide a link here? I didn't see something quite right here, but just took a quick look.

https://bugs.chromium.org/p/chromium/issues/list?can=2&q=Labels+jaws&col...

andrewmacpherson’s picture

Re: #3, announcing the fieldset legend. I'm not particularly worried about that. I've read reports that screen readers vary quite a lot about how they announce the legend name. Sometimes they announce the legend along with every field in the fieldset, sometimes they announce it once upon entering the fieldset. I saw a chart of this somewehere in the last few years. Not sure if I can find it again. I've certainly heard how NVDA announces the legend when entering the fieldset by tabbing forwards, but not when entering the fieldset by shift-tabbing backwards.

andrewmacpherson’s picture

From issue summary, original report...

The defect exists in Google Chrome v54.0.2840.99 m and does not exist in IE 11.

The label is announced with IE, but not Chrome, using the same screen reader, but different browsers? That's sounds like it's down to a difference in what the browser exposes to the platform accessibility APIs. Then again who knows with JAWS - it also gets stuff directly from the browser DOM too, if it can. Maybe we could check what they send to the accessibility tree, using aViewer.

In #3, by this time you say you're using Chrome 61, and...

a combo box field called “Title” combo within the Contact Information is accessed, JAWS announces, “Title combo box –None- 1 of 7”.

Well that sounds like Chrome 61 + JAWS is indeed announcing the label correctly. You're mainly concerned with the fieldset legend there.

Chrome is up to version 65 now. This is worth testing again to see if it's still an issue with JAWS.

I tested the filters at the top of admin/content using Win7 + NVDA v2018.1 - the selects were announced with the label, role, current value, and collapsed state. "Combobox, Content type, collapsed, Basic Page." This worked with IE11, Firefox 52 ESR, and Chrome 65. So no issue there. I'm confident that we're providing all the semantics in a machine readable way, and this comes down to quirks with particular combinations of browser and screen reader.

andrewmacpherson’s picture

Issue summary: View changes

Minor edit to the issue summary. <label> wasn't being displayed, so I deleted the angle brackets for clarity.

andrewmacpherson’s picture

There's another detail I noticed. The original report says that the content screen has select elements where "-View all-" is announced. That's odd because the select elements on the admin/content page have "- Any -" as the option name, after installing the standard profile.

Is it possible the Drupal site being tested had a customized content listing? If so, are the labels correctly associated with the select elements?

andrewmacpherson’s picture

I tested some fieldsets in Drupal core. On the account settings page, there are two fieldsets containing radio buttons, with legends. One is about who can register an account, the second is about what happens to a user's content when an account is cancelled.

I tested with Windows 7, NVDA v2018.1, IE 11, Firefox 52 ESR, and Chrome 65.

In all 3 browsers, the legend was announced on entering the fieldset by pressing tab, but the legend was not announced when changing from one radio button to another with arrow keys.

I tried moving further though the form, then returning to the fieldsets by pressing shift-tab to go backwards. On entering the fieldsets, the legends were announced with Firefox and Chrome.

On IE 11 + NVDA 2018.1 + Win 7, there is an odd quirk:

  • When entering the fieldset by tabbing forward, the legends were announced.
  • When entering fieldsets by shift-tabbing backwards, the legend was consistently announced for one fieldset, but consistently NOT announced for the other.
  • The difference is that one fieldset contained radio buttons only, but the other fieldset had radio buttons, followed by a text description div containing a link.
  • It seems that when entering a fieldset and landing on a radio button, the legend is announced. But when entering a fieldset and landing on a link, the legend is not announced. This is the kind of quirk that's beyond our control.
andrewmacpherson’s picture

Status: Active » Postponed (maintainer needs more info)

I'm going to park this one for now, after the investigations above. There's nothing actionable for us, unless we hear more detail about the behaviour of JAWS with current browser versions.

When providing more detail, we'd like to know as much of the following as possible:

  • The versions of Drupal, Windows, JAWS, and browsers.
  • The URL path of the Drupal page. So far I've assumed that "Content screen" meant admin/content. Correct me if that's not the case.
  • Whether you are testing a fresh installation of Drupal standard profile, some contrib installation profile or distro, or a specific website that your organization has built.
  • In the latter case, please provide as much information about the form as you can. Javascript components, custom templates, contrib/custom modules involved, whatever you know.
  • The specific label, field type, and names of options that you are expecting to hear. This is about comment #12, where I noted a discrepancy between the "-View all-" text in the report, and Drupal's default text which is "- Any -". This made me suspect the report was about a form that had been customized somehow. (Nothing wrong with that, just useful to know).

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

andrewmacpherson’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)
Issue tags: +Bug Smash Initiative

Closing this one. I've asked for more information, and none has been provided.

See comment #10 particularly. I noted the discrepancy between the original report for Chrome 54 (select label not announced) and the later report for Chrome 61 (comment #3, which says the select label is announced).

Announcing the fieldset legend for every control inside a fieldset is a pipe dream. Screen readers vary in their approach to that, and it isn't something that Drupal should try to force IMO.

I revisited this one because it cropped up on the #bugsmash channel in Drupal Slack.

Note that "section 508" is a USA-specific regulation. The accessibility maintainers don't have any interest in country-specific regulations; there are just too many countries! It's not the target of the core accessibility gate; we use the WAI recommendations.