зеркало из https://github.com/microsoft/reactxp.git
Revert "Fix the bug where AccessibilityAnnouncer leaves a div which can be accessed by screen readers (#798)"
This reverts commit 9dcb5b0520
.
This commit is contained in:
Родитель
769d664dbb
Коммит
1ff87e6667
|
@ -112,10 +112,6 @@ export class AccessibilityAnnouncer extends React.Component<{}, AccessibilityAnn
|
|||
aria-live={ AccessibilityUtil.accessibilityLiveRegionToString(Types.AccessibilityLiveRegion.Assertive) }
|
||||
aria-atomic={ 'true' }
|
||||
aria-relevant={ 'additions text' }
|
||||
aria-hidden={ 'true' }
|
||||
role={ 'presentation' }
|
||||
tabIndex={ -1 }
|
||||
aria-label={ this.state.announcementText }
|
||||
>
|
||||
{ announcement }
|
||||
</div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче