[Webkit-unassigned] [Bug 221952] New: AX: Emit an AXTitleChangedNotification when the accessible name (inner text, aria-label) of a focusable control changes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 16 01:54:06 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=221952
Bug ID: 221952
Summary: AX: Emit an AXTitleChangedNotification when the
accessible name (inner text, aria-label) of a
focusable control changes
Product: WebKit
Version: Safari Technology Preview
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: marco at marcozehe.de
CC: webkit-bug-importer at group.apple.com
Steps:
1. Open this URL: `data:text/html,<button%20id="pressMe"%20onclick="document.getElementById('pressMe').textContent%20=%20'Congratulations,%20you%20pressed%20me';">Yeah%20press%20me</button>`.
2. Turn on VoiceOver.
3. Focus the button and press Space.
* Expected: The new inner text should be spoken automatically.
* Actual: VoiceOver remains silent.
4. Now, open this URL: `data:text/html,<button%20id="pressMe"%20aria-label="Press%20me"%20onclick="document.getElementById('pressMe').setAttribute('aria-label',%20'You%20pressed%20me');">Yeah%20press%20me</button>`
5. Focus it and press Space.
* Result: The same as in step 3, VoiceOver remains silent. Only after re-reading the button manually, does the user detect that the label has changed.
Real-life example: The alternative accessible client for the Mastodon social network, https://pinafore.social, uses focusable article elements with a custom label to make efficient reading and navigation possible. Once logged into an instance and viewing a timeline, toots can be hidden behind a content warning. Pressing x expands that content warning to show the full toot, also updating the label. Windows browsers and screen readers in focus/forms mode read that automatically. I also managed to get this working nicely in Firefox for Mac in [this commit](https://hg.mozilla.org/mozilla-central/rev/2aedd8a8a91e).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210216/b17156f7/attachment.htm>
More information about the webkit-unassigned
mailing list