WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Improving the Accessibility of My Projects

for

From: Bryan Hadaway
Date: Jan 8, 2020 5:48PM


Updated: https://wp-themes.com/generic/

(depending on when you read this, you might not see the updated version yet
because of the wordpress.org cache)

*@Carly* — Thank you. I think I've been able to greatly improve both the
visual and functional presentation now. Considering the project, titled
Generic, is supposed to, well, be generic, as a tool for other web
designers and programmers, I try not to get too fancy or opinionated with
it.

*@Glen* — Thank you. I agree. Initially, I did have it so that the parent
menu wouldn't open the sub-menu automatically upon focus, and had it so
that it would only open on enter or the down arrow, but it threw some bugs
into the mix and was starting to bloat the code a bit (I try to avoid JS as
much as possible). I ultimately decided to go with the most lightweight
solution, which is the CSS-only way that it's using now.

I'm tempted to use <details> to solve both the lightweight and
functionality problem, but I'm guessing that's a pretty big semantic no-no,
which would be even worse, because I want to use best practices and
standards as much as possible.