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
317388
moveBefore needs to update accessibility state
https://bugs.webkit.org/show_bug.cgi?id=317388
Summary
moveBefore needs to update accessibility state
Luke Warlow
Reported
2026-06-18 01:49:42 PDT
A demo such as `<header id="header">Header</header><section id="section"></section><script>section.moveBefore(header, null);</script>` will result in the header keeping a banner role, rather than a sectionheader role, so moveBefore needs to notify the acc tree of the move.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-07-08 06:23:55 PDT
<
rdar://problem/181695549
>
Luke Warlow
Comment 2
2026-07-08 06:24:52 PDT
While the above issue seems to be fixed now by another change there's also the web inspector which needs updating too.
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