greenpeace / planet4

Built on top of Wordpress tech, Greenpeace Planet 4 powers digital platforms to engage with millions and win campaigns around the world.
https://planet4.greenpeace.org
Creative Commons Attribution Share Alike 4.0 International
66 stars 27 forks source link

PLANET-5256 "Post type + Hashtag" component Accessibility #86

Closed planet-4 closed 2 years ago

planet-4 commented 3 years ago

We have this tiny widget in some places, that looks like this:

People · #Consumption #Oceans

This is in some page headers, and search/article teasers. The mid dot is read aloud, make sure the mid dot char is hidden to Screen Readers using aria-hidden and check the Hashtag Accessibility ticket to deal with some potential issues with Hashtags. The dot is currently a :before CSS pseudo-element, so this probably needs to be refactored.

Notes: For the pseudo element we might be able to solve this with media queries so we don't have to change the markup.

Screenshots

Screenshot

Reporter: pcuadrad
Sections: 

Potentially affected repositories: planet4-plugin-gutenberg-blocks, planet4-master-theme

Testing

akankshakmr174 commented 2 years ago

I can work on this! :)

aliya-rahmani commented 2 years ago

@akankshakmr174 go ahead and raise a PR for this issue.

akankshakmr174 commented 2 years ago

@aliya-rahmani This issue seems to be resolved. Checked with voiceover and NVDA on Chrome.