⭐ From Alison: Please update this issue description however y'all see fit, I'm just getting it started -- reword/replace details, whatever.
Background
During WA review of CRS Policy Office, an issue was raised with the drop-down menu markup (main menu). Menu items had aria-expanded="false" and didn't change to true when drop-downs were in fact expanded. (NOTE: The policy site isn't like that anymore, I removed the attribute so we could launch. Here's an old multidev that still has the aria-expanded issue, if you want to see it -- I can't promise the multidev will be there when you look...)
CRS Policy Office was built with an older CD Demo theme (cwd_ssit), like the other CRS sites.
Other CRS sites have aria-expanded but it works properly -- for example, CRS Privacy Office.
On newer Drupal 8 sites (and on CD Demo), aria-haspopup is used, but aria-expanded is not used at all.
Questions:
Is the markup on CD Demo good, or should it be modified?
If it should be modified, what should it be?
If it were modified, we'd do it in cwd_framework and cwd_base.
⭐ From Alison: Please update this issue description however y'all see fit, I'm just getting it started -- reword/replace details, whatever.
Background
During WA review of CRS Policy Office, an issue was raised with the drop-down menu markup (main menu). Menu items had
aria-expanded="false"
and didn't change totrue
when drop-downs were in fact expanded.(NOTE: The policy site isn't like that anymore, I removed the attribute so we could launch. Here's an old multidev that still has the
aria-expanded
issue, if you want to see it -- I can't promise the multidev will be there when you look...)CRS Policy Office was built with an older CD Demo theme (cwd_ssit), like the other CRS sites. Other CRS sites have
aria-expanded
but it works properly -- for example, CRS Privacy Office. On newer Drupal 8 sites (and on CD Demo),aria-haspopup
is used, butaria-expanded
is not used at all.Questions:
Links: