RESOLVED FIXED317388
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
Radar WebKit Bug Importer
Comment 1 2026-07-08 06:23:55 PDT
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.