Site Logo is paragraph instead of image #56
Comments
The glyph is actually being read because it's a glyph within the readable space of unicode; which is to say that it has a standard recognized name. Alternate font glyphs used in things like This glyph is decorative, so it should be treated as decorative in the code. That could be resolved by using an image block and an empty alt, but it can also be resolved by using aria-hidden on a wrapping element, as long as the graphic is not linked. |
It is not a logo so let’s go with wrapping and hiding for this one. Awesome feedback both of you |
Thanks for the explanation about unicode glyphs and how they're handled by screen readers @joedolson! I will amend the issue description. |
In the footer, we changed it to a site logo. I would have thought it was the site logo in the header, too. |
It never was, and I probably would have mentioned if I got the time to review, we are still discussing how to best solve this while keeping the intention of the design |
Yes, these should both be site logo blocks. People will want to see their logos, rather than the asterisk. We should have it set up for that out of the box. |
What about rendering the asterix on the front if there is no site logo selected? Like a placeholder. |
I think @beafialho said to use images instead of the character |
If we could get these to be SVGs it would be ideal, can we? |
Right. The image can be the site logo.
I don't think we will be able to. |
Issue Summary
This an accessibility issue and a usability issue. The design calls for an icon to display to the left of the site title in the header block. The issue from an accessibility point of view is that the icon is decorative but it's being read out by the screen reader because
it's in a paragraphit's a glyph within the readable space of unicode (see more in @joedolson's comment below). It conveys no relevant information for the user.From a usability perspective, this type of graphic in the design is often where a company logo would go and it's likely that many users of this theme will want to use an image here. Having it as a paragraph doesn't allow users to easily upload their own logo to this header.
Current code
Steps to reproduce
Recommendation
alt=""
Recommended code
HTML
Specifications
Relevant Template Files:
header-copy.html
header-portfolio.html
header-writer.html
header.html
WCAG Principle: Understanding
WCAG SC: 1.1.1
The text was updated successfully, but these errors were encountered: