Closed lindapaiste closed 5 days ago
<img width="1440" alt="Screenshot 2024-02-01 at 5 23 05 PM" src="https://github.com/processing/p5.js-web-editor/assets/14790699
9/f
8951812-1110-4cbe-b618-74684c3be8c5"> these are the few changes I have made in the code base of Nav.jsx, What are your thoughts on this ..? @lindapaiste , Should I commit these changes
commenting here to see if @Prateek-Fst or anyone else is still working on this -- I'm learning more about aria markup and would love to pick up the issue from here if possible. @lindapaiste 🙂
edit: going to give it a go!
Closing as addressed by #3191
Ref https://github.com/processing/p5.js-web-editor/issues/2933#issuecomment-1904848578
Changes:
role="menu"
androle="menuitem"
to dropdown menusrole="menubar"
androle="menuitem"
to header nav bararia-haspopup="menu"
to dropdown anchorsPending:
role="group"
for the left and right portions of the nav barrole="menuitem"
to nav bar items which do not have dropdowns (login and sign up)"navigation"
role on the nav while also having a"menubar"
rolearia-expanded
to indicate if the dropdown is open or closedI have verified that this pull request:
npm run lint
)npm run test
)develop
branch.Fixes #123