Closed nikkimk closed 3 months ago
Latest commit: 7894a071846dd8fe44eee7c31842bef7acca8831
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Name | Link |
---|---|
Latest commit | 1ee0316361c542c5bc996e8245c8b9d981c93a95 |
Deploy Preview | https://deploy-preview-2671--patternfly-elements.netlify.app/ |
To edit notification comments on pull requests, go to your Netlify site settings.
http://v4-archive.patternfly.org/v4/components/dropdown#disabled-toggles demonstrates a disabled trigger button, as such we must align with upstream behaviours. if this is an accessibility issue upstream, we should file there
update: @nikkimk received the go ahead from upstream to make this change. thanks for reaching out to them :)
If a keyboard user is able to open the menu, then a mouse click should do the same. BOTH shouldn't be able to select a sub item.
If a keyboard user is able to open the menu, then a mouse click should do the same. BOTH shouldn't be able to select a sub item.
@hellogreg @zeroedin and I decided that disabled menu should open for both keyboard and mouse but that menu items can't be clicked
@bennypowers ptal
FYI: looks like the disabled button and menu items are not giving an indication to VoiceOver/Safari or JAWS/Chrome that they are disabled:
The menu items do announce "unavailable" to NVDA/Firefox.
@nikkimk @hellogreg does d8eaf8d help?
"\n## š Commitlint Problems for this PR: \n\nš found 1 errors, 0 warnings\nā¹ļø Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint\n \n\n\n802194f5 - fix(dropdown): Update elements/pf-dropdown/pf-dropdown.ts
\n\nCo-authored-by: Benny Powers - ×¢× ×ש×Ø×× ××! bennypowers@users.noreply.github.com\n\n
@bennypowers in the DP's disabled example, the second menu item has a pointer cursor.
A little weirdness here with VoiceOver. The first time a menu item receives focus, VO announces, "[text], menu item." But on subsequent focus, it just reads the text.
This may not be a showstopper. Other menu button examples (e.g., WAI's Navigation Menu Button) don't announce "menu item" with the initial text at all. And VoiceOver does ultimately indicate it is a menu item (as it does in the WAI example):
But the inconsistency might be worth investigating--especially if it causes any side effects. If we're okay with launching it with this, I can open another issue afterward.
Windows and mobile testing results to follow...
Windows (Chrome/JAWS and Firefox/NVDA) and mobile (Android and iOS) working as expected.
What I did
Testing Instructions
Notes to Reviewers