Skip to content

Commit

Permalink
add aria label and image description
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian committed Oct 18, 2019
1 parent d075fb6 commit 9f7cafe
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ export function Screenshots(props: ScreenshotProps) {
<EuiSpacer size="m" />
<ScreenshotsContainer gutterSize="none" direction="column" alignItems="center">
<NestedEuiFlexItem>
<EuiText color="ghost">We need image descriptions to be returned in the response</EuiText>
<EuiText color="ghost" aria-label="screenschot image caption">
We need image descriptions to be returned in the response
</EuiText>
<EuiSpacer />
</NestedEuiFlexItem>
<NestedEuiFlexItem>
<EuiImage url={src} alt="image" size="l" allowFullScreen />
<EuiImage url={src} alt="screenhot image preview" size="l" allowFullScreen />
</NestedEuiFlexItem>
</ScreenshotsContainer>
</Fragment>
Expand Down

0 comments on commit 9f7cafe

Please sign in to comment.