[MA-33]: Added aria-live to empty result messages (#29814)
Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
54207acd6a
Коммит
f6a2f00fdb
@@ -292,6 +292,7 @@ const SearchResults: React.FC<Props> = (props: Props): JSX.Element => {
|
||||
'sidebar--right__subheader a11y__section',
|
||||
{'sidebar-expanded': isSideBarExpanded},
|
||||
])}
|
||||
aria-live='polite'
|
||||
>
|
||||
<NoResultsIndicator
|
||||
style={{padding: '48px'}}
|
||||
@@ -307,6 +308,7 @@ const SearchResults: React.FC<Props> = (props: Props): JSX.Element => {
|
||||
'sidebar--right__subheader a11y__section',
|
||||
{'sidebar-expanded': isSideBarExpanded},
|
||||
])}
|
||||
aria-live='polite'
|
||||
>
|
||||
<NoResultsIndicator
|
||||
style={{padding: '48px'}}
|
||||
@@ -408,7 +410,6 @@ const SearchResults: React.FC<Props> = (props: Props): JSX.Element => {
|
||||
>
|
||||
<div
|
||||
id='search-items-container'
|
||||
role='application'
|
||||
className={classNames([
|
||||
'search-items-container post-list__table a11y__region',
|
||||
{
|
||||
|
||||
Ссылка в новой задаче
Block a user