# Photo Gallery: Accessibility issue fixed

**URL:** <https://community.elfsight.com/t/photo-gallery-accessibility-issue-fixed/101966>\
**Category:** Bug Fix\
**Tags:** photo-gallery\
**Created:** [February 18, 2025, 1:06pm UTC](https://community.elfsight.com/t/photo-gallery-accessibility-issue-fixed/101966 "2025-02-18T13:06:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [February 18, 2025, 1:06pm UTC](https://community.elfsight.com/t/photo-gallery-accessibility-issue-fixed/101966/1 "2025-02-18T13:06:06Z")

</div>

We’ve moved the` tabindex` attribute in our [Photo Gallery](https://elfsight.com/photo-gallery-widget/) app from the image to the parent container.

The previous configuration was incorrect because the parent container has a `button` role, which automatically assigns a `presentation` role to all elements inside. Elements with a `presentation` role should not be focusable.

  

[Back to Changelog →](https://community.elfsight.com/c/elfsight-changelog/48)

---

<div class="post-metadata">

**Author:** ![romano97002](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/romano97002/32/95751_2.png) [@romano97002](https://community.elfsight.com/u/romano97002)\
**Post date:** [February 18, 2025, 2:19pm UTC](https://community.elfsight.com/t/photo-gallery-accessibility-issue-fixed/101966/2 "2025-02-18T14:19:35Z")

</div>

@Max,

👍🏻 👍🏻 👍🏻
