diff --git a/src/AnnotationCreation.js b/src/AnnotationCreation.js index c0454b2ce9bcbbde4bbbe614a55a91500fc8043d..a34c28588ab0114c6825b556ff82d155ec7e2fd8 100644 --- a/src/AnnotationCreation.js +++ b/src/AnnotationCreation.js @@ -379,12 +379,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>