Bug 246607 - AX: Legend not announced when following a link to main region using Ctrl-Option-Space
Summary: AX: Legend not announced when following a link to main region using Ctrl-Opti...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 16
Hardware: Mac (Apple Silicon) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-17 01:39 PDT by Martin Jones
Modified: 2022-10-17 01:41 PDT (History)
2 users (show)

See Also:


Attachments
Minimal HTML used for the video demo (664 bytes, text/html)
2022-10-17 01:39 PDT, Martin Jones
no flags Details
Video of VoiceOver demonstration (200.91 KB, video/quicktime)
2022-10-17 01:40 PDT, Martin Jones
no flags Details
Video showing h1 being announced when it is not in a fieldset (192.37 KB, video/quicktime)
2022-10-17 01:41 PDT, Martin Jones
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jones 2022-10-17 01:39:52 PDT
Created attachment 463021 [details]
Minimal HTML used for the video demo

Overview

Load the HTML page attached and use the VoiceOver Ctrl-Option-Space shortcut on the "Skip to main content" link to jump to the main content section.

Minimal test case

```HTML
<body>
  <a href="#main-content">Skip to main content</a>
  <main id="main-content">
    <fieldset>
      <legend>
        <h1>Heading Question?</h1>
      </legend>

      <input type="radio" name="response" id="response-0" value="yes">
      <label for="response-0">Yes</label>

      <input type="radio" name="response" id="response-1" value="no">
      <label for="response-1">No</label>
    </fieldset>
  </main>
</body>
```

A minimal test case is also attached

If the h1 element is not contained within a fieldset, then the text is read out as expected.

Expected result

VoiceOver will read out the legend h1 text "Heading Question"

Actual Result

Nothing is read out

Safari Version 16.0 (17614.1.25.9.10, 17614
Comment 1 Radar WebKit Bug Importer 2022-10-17 01:40:04 PDT
<rdar://problem/101237840>
Comment 2 Martin Jones 2022-10-17 01:40:30 PDT
Created attachment 463022 [details]
Video of VoiceOver demonstration
Comment 3 Martin Jones 2022-10-17 01:41:31 PDT
Created attachment 463023 [details]
Video showing h1 being announced when it is not in a fieldset