Skip to content

Fix Fat menu A11y issues - #338

Merged
sneridagh merged 2 commits into
mainfrom
Fatmenu-a11y
Feb 2, 2024
Merged

sneridagh merged 2 commits into
mainfrom
Fatmenu-a11y

Conversation

@iRohitSingh

Copy link
Copy Markdown
Member

Fix #264

desktopMenuOpen === index ||
(!desktopMenuOpen && pathname === item.url),
})}
aria-label={intl.formatMessage(messages.openFatMenu)}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iRohitSingh your colleagues from Kitconcept will provide the review for your work on this repo.
What I can suggest is to always look at previous code written and think of reusing the same pattern when possible.
Don't hurry to ask for a review before you test things and think of what info is exposed to the user.
Ex here:
You don't want the screenshot user to read "Open fat menu", "fat" is an implementation detail that should not be exposed to a screenshot user.
You simply need to use the pattern from Mobile navigation
open-close-label

@iRohitSingh iRohitSingh Feb 1, 2024 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about the same thing. i.e Open menu but since it contains the navigation of all its content I put fat in middle. We should tell user like it is not a simple menu. Ok, I will change it more appropriate name.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For current I am changing to only open menu.

@sneridagh
sneridagh merged commit 3b911af into main Feb 2, 2024
@sneridagh
sneridagh deleted the Fatmenu-a11y branch February 2, 2024 10:49
sneridagh added a commit that referenced this pull request Feb 8, 2024
* main:
  Update to Volto 17.12.0 (#342)
  Release 3.0.0-alpha.3
  Fix Fat menu A11y issues (#338)
  Remove extra site-map from header (#340)
  Add new commands to run the image in live mode (#332)
  Upgradetolatest plone and Volto (#331)
  Allow customization the secondary navigation entries via Portal action (#320)
  Fix Introduction-Block inline-styles have wrong typography. (#315)
  Upgrade to Volto 17.11.1 and Plone 6.0.9 (#328)
macagua pushed a commit to plone-ve/volto-light-theme that referenced this pull request Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fat menu A11y issues

3 participants