Skip to content
Snippets Groups Projects
Commit fbb182c9 authored by Chris Beer's avatar Chris Beer
Browse files

Add additional aria properties to make the thumbnail navigation spec-compliant

parent 84164b3c
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,8 @@ export class ThumbnailCanvasGrouping extends PureComponent {
width: (Number.isInteger(style.width)) ? style.width - SPACING : null,
}}
className={ns('thumbnail-nav-container')}
role="gridcell"
aria-colindex={index + 1}
>
<div
role="button"
......
......@@ -204,6 +204,7 @@ export class ThumbnailNavigation extends Component {
onKeyUp={this.handleKeyUp}
role="grid"
>
<div role="row" style={{ height: '100%', width: '100%' }}>
<AutoSizer
defaultHeight={100}
defaultWidth={400}
......@@ -223,6 +224,7 @@ export class ThumbnailNavigation extends Component {
</List>
)}
</AutoSizer>
</div>
</Paper>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment