(Improvement) Product Gallery, arrows for thumb navigation should have area-label

The woocommerce product gallery has thumbs. The thumbs can have arrows, left/right for scrolling the thumbs.

When a page containing this component is analyzed by Lighthouse gives a warning for the arrows “Links do not have a discernible name”

Adding aria-label=“previous/next” to the arrow links will fix the problem.

I could not find any option in the editor how to do this, and it seems the best way is if this is build in.

1 Like