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
Comment #2
carloqb3 CreditAttribution: carloqb3 commentedComment #3
carloqb3 CreditAttribution: carloqb3 commentedSimilar 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.
Comment #4
findleys CreditAttribution: findleys commentedThis appears to be an issue for all select forms. The first option in the list is being read instead of the label.
Comment #5
findleys CreditAttribution: findleys commentedComment #6
mgiffordIs there an upstream issue we should point to in Chrome?
Seems like it might be a browser specific, or even release specific bug.
Comment #7
findleys CreditAttribution: findleys commentedThere is no upstream issue that I am aware of. But yes, this does appear to be a Chrome specific issue.
Comment #8
mgifford@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...
Comment #9
andrewmacpherson CreditAttribution: andrewmacpherson as a volunteer commentedRe: #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.
Comment #10
andrewmacpherson CreditAttribution: andrewmacpherson as a volunteer commentedFrom issue summary, original report...
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...
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.Comment #11
andrewmacpherson CreditAttribution: andrewmacpherson as a volunteer commentedMinor edit to the issue summary.
<label>
wasn't being displayed, so I deleted the angle brackets for clarity.Comment #12
andrewmacpherson CreditAttribution: andrewmacpherson as a volunteer commentedThere'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?
Comment #13
andrewmacpherson CreditAttribution: andrewmacpherson as a volunteer commentedI 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:
Comment #14
andrewmacpherson CreditAttribution: andrewmacpherson as a volunteer commentedI'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:
admin/content
. Correct me if that's not the case.Comment #18
andrewmacpherson CreditAttribution: andrewmacpherson as a volunteer commentedClosing 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.