Skip to content
Snippets Groups Projects
Commit 9ebdb6da authored by esikkala's avatar esikkala
Browse files

Accessibility improvements

parent b9d2ffe1
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ class TextFacet extends React.Component {
} else {
searchButton = (
<IconButton
aria-label={placeholder}
aria-label='search'
onClick={this.handleClick}
onMouseDown={this.handleMouseDown}
>
......@@ -95,6 +95,7 @@ class TextFacet extends React.Component {
<Input
id='adornment-search'
type='text'
aria-label='search'
value={this.state.value}
disabled={this.props.someFacetIsFetching}
onChange={this.handleChange}
......
......@@ -48,11 +48,12 @@ const ImageGallerySRL = props => {
})
return (
<>
<Button onClick={() => openLightbox()}>
<Button aria-label='open larger image' onClick={() => openLightbox()}>
<img
className={classes.previewImage}
height={props.previewImageHeight}
src={images[0].src}
alt='preview image'
/>
</Button>
<SRLWrapper options={srlOptions} elements={images} />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment