Skip to content

Commit

Permalink
Added a live region or a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonStoltz committed Apr 5, 2021
1 parent 9fca3e5 commit d443dce
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ export const QueryPerformance: React.FC = () => {
className="response-feedback"
data-test-subj="serverResultFieldsPerformance"
tabIndex={-1}
role="region"
aria-live="polite"
{...QueryPerformanceBadgeProps[queryPerformanceRating]}
>
{QueryPerformanceBadgeContents[queryPerformanceRating]}
Expand Down

0 comments on commit d443dce

Please sign in to comment.