2 MIN READ
Blog Post
CarmenBernadou_
Community Member
I learned a lot from this challenge's entries. Thanks for sharing such great tips and ideas!
My experiment this week looks to emulate in a slide a few of the common accessibility utilities we find in newspapers and portals. Including changing the font size and color mode; trying to also follow the WCAG 2.0 guidelines.
The source file is not really elegant and the end result is still working a little funny, but it was interesting to have an idea of how much effort takes creating these types of features.
Demo and File / https://carmenbernadou.com/elhc/accesible-toolbar/
My experiment this week looks to emulate in a slide a few of the common accessibility utilities we find in newspapers and portals. Including changing the font size and color mode; trying to also follow the WCAG 2.0 guidelines.
The source file is not really elegant and the end result is still working a little funny, but it was interesting to have an idea of how much effort takes creating these types of features.
Demo and File / https://carmenbernadou.com/elhc/accesible-toolbar/
MollyFisher-dd0
4 years agoCommunity Member
I really enjoyed the design of your project, in both the light and dark mode. I didn't realize that was an accessibility function. How did you increase and decrease the size of the text when clicking the buttons?
- CarmenBernadou_4 years agoCommunity MemberThanks, Molly : )
This article reflects a little about the accessibility component of the different color modes: https://uxdesign.cc/accessibility-and-dark-ui-themes-f01001339b65
The 'change of size' function is not super elegant tbh, the text is just an object with 3 different states and I simply change the state when the user clicks the + or - buttons. This could be also achieved using numerical variables.
The hardest part was to also change the color at the same time, to avoid managing heaps of text elements simultaneously, I had to use a little JS. The file is available if you want to have a look.