box / box-content-preview

JavaScript library for rendering files stored on Box
https://developer.box.com/docs/box-content-preview
Other
106 stars 113 forks source link

fix(ThumbnailsSidebar): A11Y - add aria-current to ThumbnailsSidebar #1417

Closed fsuarez-globant closed 3 years ago

fsuarez-globant commented 3 years ago

There is a visual indication of the current thumbnail that also presents the current page You should convey this information to screen reader with aria-current="true". For example:

![Screen Shot 2021-08-05 at 2 56 06 PM](https://user-images.githubusercontent.com/79931431/128412923-2371af75-29b5-4948-a207-59890866d551.png)
fsuarez-globant commented 3 years ago

@jstoffan I just added an unit test