Skip to content

Commit

Permalink
Merge pull request #14 from sejas/add/different-text-to-theme-img-alts
Browse files Browse the repository at this point in the history
Accessibility: Add the word `Theme:` to img alts for themes on settings modal
  • Loading branch information
adamziel authored Sep 29, 2023
2 parents 2002179 + eb56325 commit bd428f9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export default function SettingsModal({
<p>
Welcome to a new and exciting way of testing WordPress Themes
and Plugins. Choose a theme, sprinkle with a plugin or a few,
and start a new WordPress Playground – all inside of your browser!
and start a new WordPress Playground – all inside of your
browser!
</p>

<Flex wrap={true}>
Expand Down Expand Up @@ -82,7 +83,7 @@ export default function SettingsModal({
<img
className="wporg-tab-item-list__theme-thumbnail"
src={theme.thumbnail}
alt={theme.name}
alt={`Theme: ${theme.name}`}
/>
</div>
</FlexItem>
Expand Down

0 comments on commit bd428f9

Please sign in to comment.