Bug 145970 - AX: <legend> should be announced by Voiceover / screenreader
Summary: AX: <legend> should be announced by Voiceover / screenreader
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac All
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-06-15 04:17 PDT by goetsu
Modified: 2015-06-17 02:08 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description goetsu 2015-06-15 04:17:11 PDT
<legend> inside a <fieldset> must be announced as title of the group.

When user have focus on input inside a fieldset with a legend the legend must be used as a description of the inputs like with aria-describedby.
Furthermore if you have multiple nested fieldset with legend the description must inherit all the legend value

Here is my test case http://codepen.io/goetsu/pen/ZGJOWg

This have been resolved in the past but it look to be broken again :
https://bugs.webkit.org/show_bug.cgi?id=20887
https://bugs.webkit.org/show_bug.cgi?id=122534
Comment 1 Radar WebKit Bug Importer 2015-06-15 04:17:35 PDT
<rdar://problem/21380574>
Comment 2 James Craig 2015-06-15 22:36:30 PDT
This is is not a WebKit bug. WebKit exposes the fieldset and legend the same way it always has.

Reference LayoutTest run on every commit.
https://github.com/WebKit/webkit/blob/master/LayoutTests/accessibility/fieldset-element.html
https://github.com/WebKit/webkit/blob/master/LayoutTests/accessibility/fieldset-element-expected.txt

VoiceOver's behavior changed in 2014, and is tracked as <rdar://problem/17919418>
Comment 3 Steve Faulkner 2015-06-17 02:08:21 PDT
(In reply to comment #2)
> This is is not a WebKit bug. WebKit exposes the fieldset and legend the same
> way it always has.
> 
> Reference LayoutTest run on every commit.
> https://github.com/WebKit/webkit/blob/master/LayoutTests/accessibility/
> fieldset-element.html
> https://github.com/WebKit/webkit/blob/master/LayoutTests/accessibility/
> fieldset-element-expected.txt
> 
> VoiceOver's behavior changed in 2014, and is tracked as
> <rdar://problem/17919418>

Guessing that <rdar://problem/17919418> is not public. Is there any indication that this VO bug will be fixed and in what time frame? Intersted as a client is asking whether they need to change their coding practices to work around this bug.