From 924059257dd577ca602583d7a56b11bafcc3ba94 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 16 May 2026 13:08:33 +0100 Subject: [PATCH] fix(a11y): name role=toolbar regions, hide linemetricsdiv from AT (#7255) (#7777) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(a11y): name role=toolbar regions, hide linemetricsdiv from AT (#7255) Two regressions called out in the 2026-05-16 follow-up on #7255, after the firefox accessibility inspector flagged them: (1) The "Ether X" announcement between the editor and chat button was the outer ace iframe (titled "Ether") plus a single 'x' text leaf the renderer appends to outerdocbody for line-height measurement (linemetricsdiv in ace.ts). Add aria-hidden=true on creation so AT skips the measurement node entirely. Same approach we used for sidediv in PR #7758. (2) The two formatting/actions