<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"
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=191742 Date: 2018-11-16 Reported by: Oliver Byford Related to: https://github.com/alphagov/govuk-frontend/pull/1056#issuecomment-439381905
Overview
Given the following markup:
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:
(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: