[gatsby-plugin-image] allow aria attributes when used as link #31268
Unanswered
ThomasRutzer
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
if I use
GatsbyImage
inside a<a />
, I needaria-hidden
attribute added to its wrapper to make it most accessible. By now, thishtml
attributes is not possible, so I need another surrounding element. Would be nice to optimize so I don`t need another element.My structure so far is something like that:
Or is anyone else having a better solution for that?
Beta Was this translation helpful? Give feedback.
All reactions