Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#46233 new defect (bug)

Twenty Sixteen: Theme includes Screen Reader Text inside Card

Reported by: dshanske Owned by:
Milestone: Awaiting Review Priority: low
Severity: trivial Version:
Component: Bundled Theme Keywords: reporter-feedback
Focuses: Cc:


The function twentysixteen_entry_meta includes the screen reader text inside the span property using the author mf class. That means when parsed it would say, 'Author David Shanske' The screen reader text should be inside the byline span but outside the author vcard span.

Change History (2)

#1 @laurelfulford
3 years ago

  • Component changed from Themes to Bundled Theme
  • Summary changed from Twenty Sixteen Theme includes Screen Reader Text inside Card to Twenty Sixteen: Theme includes Screen Reader Text inside Card

#2 @laurelfulford
3 years ago

  • Keywords reporter-feedback added

Thanks for this report, @dshanske!

I see what you mean. Unfortunately, this could be tricky to change without causing other issues -- moving <span class="screen-reader-text">Author </span> outside of the .author span would also place the author image between that string and the actual author name, making it less meaningful to screen readers.

I'm far from an expert on Microformats, but in this case, would adding role to that screen-reader-text be "correct"? Or am I totally reaching? :)

Note: See TracTickets for help on using tickets.