Bug 2262682:Screen reader is not announcing the updated deleting status information after deleting the container. (#1563)

This commit is contained in:
MokireddySampath 2023-08-14 21:48:25 +05:30 committed by GitHub
parent 9f7783f3f9
commit 1a3ca94efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -122,7 +122,9 @@ export class NotificationConsoleComponent extends React.Component<
{userContext.features.pr && <PrPreview pr={userContext.features.pr} />} {userContext.features.pr && <PrPreview pr={userContext.features.pr} />}
<span className="consoleSplitter" /> <span className="consoleSplitter" />
<span className="headerStatus"> <span className="headerStatus">
<span className="headerStatusEllipsis">{this.state.headerStatus}</span> <span className="headerStatusEllipsis" aria-live="assertive" aria-atomic="true">
{this.state.headerStatus}
</span>
</span> </span>
</div> </div>
<div <div

View File

@ -64,6 +64,8 @@ exports[`NotificationConsoleComponent renders the console 1`] = `
className="headerStatus" className="headerStatus"
> >
<span <span
aria-atomic="true"
aria-live="assertive"
className="headerStatusEllipsis" className="headerStatusEllipsis"
/> />
</span> </span>
@ -225,6 +227,8 @@ exports[`NotificationConsoleComponent renders the console 2`] = `
className="headerStatus" className="headerStatus"
> >
<span <span
aria-atomic="true"
aria-live="assertive"
className="headerStatusEllipsis" className="headerStatusEllipsis"
> >
message message

View File

@ -83,7 +83,7 @@ const App: React.FunctionComponent = () => {
} }
return ( return (
<div className="flexContainer"> <div className="flexContainer" aria-hidden="false">
<div id="divExplorer" className="flexContainer hideOverflows"> <div id="divExplorer" className="flexContainer hideOverflows">
<div id="freeTierTeachingBubble"> </div> <div id="freeTierTeachingBubble"> </div>
{/* Main Command Bar - Start */} {/* Main Command Bar - Start */}