Bug 191742 - AX: Legend not announced when following a link to an input within a fieldset using Ctrl-Option-Space
Summary: AX: Legend not announced when following a link to an input within a fieldset ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 12
Hardware: Mac macOS 10.14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-11-16 04:14 PST by Oliver Byford
Modified: 2018-11-19 07:37 PST (History)
4 users (show)

See Also:


Attachments
Reduced test case (475 bytes, text/html)
2018-11-16 04:14 PST, Oliver Byford
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Byford 2018-11-16 04:14:49 PST
Created attachment 355039 [details]
Reduced test case

Given the following markup:

  <a href="#input">Link to input</a>

  <fieldset aria-describedby="fieldset-description">
    <legend>Legend for multiple inputs</legend>
    <span id="fieldset-description">
      Description for multiple inputs
    </span>

    <label for="input">
      Label for input
    </label>
    <input id="input" name="input">
  </fieldset>

Focus the 'link to input' and use the Ctrl-Option-Space key to follow the link, as instructed.

Expected behaviour:

Voiceover should announce the same things that it announces when following the link using the Enter key, including the legend:

"Label for input, edit text, Legend for multiple inputs, group. Description for multiple inputs, You are currently on a text field. To enter text in this field, type"

(The legend is actually announced twice in Safari 12, but this appears to be fixed in Safari Technology Preview release 70)

Actual behaviour:

Voiceover does not include the legend as part of the announcement, although it does include the description associated using aria-describedby:

"Label for input, edit text. Description for multiple inputs, You are currently on a text field. To enter text in this field, type"
Comment 1 Radar WebKit Bug Importer 2018-11-16 04:15:23 PST
<rdar://problem/46124317>
Comment 2 chris fleizach 2018-11-18 09:32:24 PST
(In reply to Radar WebKit Bug Importer from comment #1)
> <rdar://problem/46124317>

This looks like it's a VoiceOver bug. We will send to the right team, but we may have to close this one because the fix probably won't happen inWebKit
Comment 3 Oliver Byford 2018-11-19 01:13:09 PST
Thanks Chris.

Out of interest, is there a 'rule of thumb' as to when bugs should be filed against Webkit here and when they should be filed in Radar?
Comment 4 chris fleizach 2018-11-19 07:37:43 PST
(In reply to Oliver Byford from comment #3)
> Thanks Chris.
> 
> Out of interest, is there a 'rule of thumb' as to when bugs should be filed
> against Webkit here and when they should be filed in Radar?

Nope it’s usually not clear where the problem lies until we look into it