Bug 258480

Summary: AX: description list (dl + dt + dd elements) list length incorrectly announced
Product: WebKit Reporter: Roger Frace <rfrace>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Intel)   
OS: macOS 13   

Description Roger Frace 2023-06-23 13:35:13 PDT
Description:
Desktop Safari+VoiceOver announces a <dl> as the proper length, but then announces a different length because it seems to consider both <dt> and <dd> as list items. The list count should be consistent.

Frequency:
Always

Steps to reproduce/Results:
1. Load the W3Schools example code from https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_dd_test and focus on the results frame
2. Read through the content with read next (not read all)
3. Note that the list length changes when reading the list contents

VoiceOver Output results:
description list 2 items
Coffee 1 of 4
Black hot drink 2 of 4
Milk 3 of 4
White cold drink 4 of 4
end of description list

Hardware/software used:
Reproduced on 2 different MacBooks running 13.4.1

Additional notes:
none
Comment 1 Radar WebKit Bug Importer 2023-06-23 13:35:34 PDT
<rdar://problem/111232571>