Repository navigation
Read live region messages without article and group role words - #5921
Merged
Merged
Conversation
Eugene (OEvgeny)
force-pushed
the
OEvgeny/fix-liveregion-generic-wrappers
branch
from
October 20, 2026 01:12
335aad9 to
e6598ae
Compare
Eugene (OEvgeny)
marked this pull request as ready for review
October 20, 2026 18:08
Eugene (OEvgeny)
requested review from
William Wong (compulim),
Chris Whitten (cwhitten) and
Thomas Durnford (tdurnford)
as code owners
October 20, 2026 18:08
Eugene (OEvgeny)
force-pushed
the
OEvgeny/fix-liveregion-generic-wrappers
branch
2 times, most recently
from
October 20, 2026 20:24
c4d0f0c to
32f9e3e
Compare
added 5 commits
October 20, 2026 13:56
Screen readers announced "article" before every new message and attachment read from the live region. The live region copy of a message and its attachments are now generic containers; aria-atomic and the text are kept.
Screen readers on Windows read "group" before every line of a new message: generic <div> and <p> are exposed as UIA Group. Lines and containers in the live region copy are now role="none"; only the aria-atomic message, its text, and the interactive copies (buttons, inputs) remain.
Eugene (OEvgeny)
force-pushed
the
OEvgeny/fix-liveregion-generic-wrappers
branch
from
October 20, 2026 20:57
32f9e3e to
f751d11
Compare
William Wong (compulim)
approved these changes
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog Entry
Fixed
Description
The live region copy of a message and its attachments were
<article>, and each line a<div>or<p>("group" on Windows), so Narrator read "article, group, Bot WC said:, group, …". Articles are now<div>, and containers and lines inside the message arerole="none"; text,aria-atomic, buttons and inputs are unchanged.Design
role="none"on lines rather than<p>/<span>(still "group") or one text node (rewrites every renderer); thearia-atomicelement itself must stay in the tree.Specific Changes
LiveRegionActivity.tsx:<article aria-atomic>→<div aria-atomic>, linesrole="none"; props typed withInferReactPropsLiveRegionAttachments.tsx,LiveRegionSuggestedActions.tsx: wrappers and paragraphsrole="none"AdaptiveCardAttachment.js,RichCardAttachment.js, coreAttachmentForScreenReader/*Attachment.js:<article>→<div>, lines and containersrole="none"ACCESSIBILITY.md: custom screen reader renderers should do the sameaccessibility/liveRegion/noRoleWords.html: asserts text,aria-atomic, a generic message and only buttons in its accessibility tree; snapshot 1 shows the live region copy with no role words.changelog/<PR#>-<slug>.mdReview Checklist
z-index)package.jsonandpackage-lock.jsonreviewed