diff --git a/src/AnnotationCreation.js b/src/AnnotationCreation.js index 54d09c628acf4da5703376bc93a83887a3584e21..dce87ef0ee4e5b5be3e7072c7c8d9536c15babaf 100644 --- a/src/AnnotationCreation.js +++ b/src/AnnotationCreation.js @@ -367,12 +367,15 @@ class AnnotationCreation extends Component { > <Paper> <ClickAwayListener onClickAway={this.handleCloseLineWeight}> - <MenuList> + <MenuList autoFocus role="listbox"> {[1, 3, 5, 10, 50].map((option, index) => ( <MenuItem key={option} onClick={this.handleLineWeightSelect} value={option} + selected={option == strokeWidth} + role="option" + aria-selected={option == strokeWidth} > {option} </MenuItem>