WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
310623
AX: `hidden="until-found" causing content to not be able to be found on Safari with VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=310623
Summary
AX: `hidden="until-found" causing content to not be able to be found on Safar...
hrrcox
Reported
2026-03-24 03:41:52 PDT
Created
attachment 478772
[details]
A video of an accordion component, using VoiceOver on Safari to navigate to content revealed when the accordion content is expanded. Content cannot be read by voiceover When the `hidden="until-found"` attribute is applied to custom disclosure widgets or accordions, activating the accordion, the revealed content cannot be navigated to using VoiceOver on Safari. This means that all content revealed by accordions is not discoverable using VoiceOver on Safari, blocking users from being able to read critical content.
Attachments
A video of an accordion component, using VoiceOver on Safari to navigate to content revealed when the accordion content is expanded. Content cannot be read by voiceover
(800.72 KB, video/quicktime)
2026-03-24 03:41 PDT
,
hrrcox
no flags
Details
Minimal disclosure reproduction using hidden=until-found
(2.72 KB, text/html)
2026-06-26 11:29 PDT
,
Nathan Knowler
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-03-24 03:41:58 PDT
<
rdar://problem/173228707
>
Tyler Wilcock
Comment 2
2026-03-24 08:46:25 PDT
Thanks for the report! I believe I fixed this already, but it's certainly possible I missed something. What version of macOS are you using? Also, do you have a link to the markup in the screen recording, or a minimal set of HTML that reproduces the issue?
hrrcox
Comment 3
2026-03-24 09:45:33 PDT
Hi, thanks for getting back to me. I am currently using OS version 26.3.1 and Safari Version 26.3.1 (21623.2.7.11.7). Here is a minimal version of the HTML for help on this: <button id="AccordionHeader1" aria-expanded="true" aria-controls="AccordionContent1" tabindex="0" class="…"> <div class="…">Heading</div> </button> <div class="AccordionContainer" hidden="until-found"> <div role="region" id="AccordionContent1" aria-labelledby="AccordionHeader1" class="…"> <div class="…">Content</div> <div class="…">Content</div> <div class="…">Content</div> </div> </div>
Tyler Wilcock
Comment 4
2026-03-24 10:27:48 PDT
I think that's missing script to expand the content as done in the video (it appeared that you were clicking with a mouse to do the expansion?). But regardless, with this markup, when I use VO-keys-F and search for "two", VoiceOver can find "two" and "three" but not "one", so there's at least this bug that needs to be fixed. <button id="AccordionHeader1" aria-expanded="true" aria-controls="AccordionContent1" tabindex="0" class="…"> <div class="…">Heading</div> </button> <div class="AccordionContainer" hidden="until-found"> <div role="region" id="AccordionContent1" aria-labelledby="AccordionHeader1" class="…"> <div class="…">one</div> <div class="…">two</div> <div class="…">three</div> </div> </div>
Nathan Knowler
Comment 5
2026-06-26 11:29:29 PDT
Created
attachment 480222
[details]
Minimal disclosure reproduction using hidden=until-found I’m still experiencing this issue using Safari Version 26.5 (21624.2.5.11.4) and Safari Technology Preview Release 246 (WebKit 22625.1.20.19.1) on macOS Tahoe 26.5.1 (25F80). Using find-in-page doesn’t seem to cause the issue. It’s only when hidden=until-found is programmatically removed. I’ve attached a minimal reproduction which comes from an article I wrote last year promoting the technique as a progressive enhancement… but I’ll have to start telling people to avoid the feature altogether (or at least in Safari) until this is fixed. Considering that find-in-page isn’t meant to be the only way content that using this attribute can be revealed and that it’s totally expected that the attribute be removed programmatically, this issue is quite serious.
Tyler Wilcock
Comment 6
2026-06-26 21:06:59 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/68001
Tyler Wilcock
Comment 7
2026-06-26 21:31:26 PDT
***
Bug 317943
has been marked as a duplicate of this bug. ***
EWS
Comment 8
2026-06-27 07:10:35 PDT
Committed
315964@main
(d3c12c1196b8): <
https://commits.webkit.org/315964@main
> Reviewed commits have been landed. Closing PR #68001 and removing active labels.
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