Skip to content

Commit

Permalink
Added focus ring on elements in expanded view (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
Galpittel committed Feb 25, 2024
1 parent 23d78e6 commit cc5524e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gallery/src/components/item/imageItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ class ImageItem extends React.Component {
data-idx={idx}
src={src}
alt={typeof alt === 'string' ? alt : 'untitled image'}
tabIndex="0"
onLoad={this.handleHighResImageLoad}
loading={this.props.isPrerenderMode ? 'lazy' : 'eager'}
style={{
Expand Down

0 comments on commit cc5524e

Please sign in to comment.