WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
299321
AX: content within a `<details>` element with `display: contents` is not accessible when expanded
https://bugs.webkit.org/show_bug.cgi?id=299321
Summary
AX: content within a `<details>` element with `display: contents` is not acce...
Nathan Knowler
Reported
2025-09-22 14:29:07 PDT
Created
attachment 476830
[details]
Details elements with `display: contents` set If a `<details>` element has `display: contents` set on it and then it is expanded or collapsed, the content within the `<details>` element is not accessible via VoiceOver (tested on macOS and iOS 26). Occasionally, either clicking directly on the content or collapsing another `<details>` element will cause the content to be accessible. This does not happen in other browsers on macOS or using screen readers on other platforms (e.g. NVDA on Windows).
Attachments
Details elements with `display: contents` set
(357 bytes, text/html)
2025-09-22 14:29 PDT
,
Nathan Knowler
no flags
Details
Details elements (collapsed and expanded) with `display: contents`
(430 bytes, text/html)
2025-09-22 14:49 PDT
,
Nathan Knowler
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-09-22 14:29:53 PDT
<
rdar://problem/161122150
>
Nathan Knowler
Comment 2
2025-09-22 14:37:47 PDT
Forgot to mention that I did test this in the latest tech preview (228) as well.
Nathan Knowler
Comment 3
2025-09-22 14:43:37 PDT
I can confirm this bug in the latest build as well
300339@main
. I thought that
https://bugs.webkit.org/show_bug.cgi?id=298403
and it’s solution (
299601@main
) seemed related or at least overlapping, so I wanted to confirm it wasn’t the same issue or one that had been fixed.
Nathan Knowler
Comment 4
2025-09-22 14:49:31 PDT
Created
attachment 476831
[details]
Details elements (collapsed and expanded) with `display: contents` When the `<details>` is initially expanded (i.e. `open` attribute is set) the content is accessible. I’ve updated the reduction to include an example of that.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug