Added region role to avoid announcing the element as a list (#2324)

This commit is contained in:
Matias Lera 2021-11-15 15:30:05 -03:00 коммит произвёл GitHub
Родитель 1a7522945e
Коммит 114ca4fa91
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -50,7 +50,7 @@ export class RecentBotsList extends Component<RecentBotsListProps, Record<string
return (
<div className={styles.section}>
<SmallHeader className={styles.marginFix}>My Bots</SmallHeader>
<ul className={`${styles.recentBotsList} ${styles.well}`}>
<ul className={`${styles.recentBotsList} ${styles.well}`} role="region">
{this.props.recentBots && this.props.recentBots.length ? (
this.props.recentBots.slice(0, 10).map(
(bot, index) =>