Skip to content

feat!: make disabled buttons and menu items accessible by default - #12508

Draft
vursen wants to merge 2 commits into
mainfrom
remove-accessible-disabled-feature-flags
Draft

feat!: make disabled buttons and menu items accessible by default#12508
vursen wants to merge 2 commits into
mainfrom
remove-accessible-disabled-feature-flags

Conversation

@vursen

@vursen vursen commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Description

  • Removed the accessibleDisabledButtons and accessibleDisabledMenuItems feature flags
  • Disabled buttons and menu items are now always focusable and hoverable, while still prevented from being activated
  • Affects vaadin-button, vaadin-menu-bar, vaadin-context-menu and vaadin-upload-button; other components keep the old disabled behavior
  • Updated API docs, tests and dev pages accordingly

Part of #12512

Type of change

  • Feature

How to test

  1. Open dev/menu-bar.html
  2. Open the "Share" sub-menu and hover the disabled "By email" item
  3. The item should show a tooltip, and clicking or pressing Enter should not select it

vursen and others added 2 commits August 26, 2026 15:28
Remove the accessibleDisabledButtons and accessibleDisabledMenuItems
feature flags. Disabled buttons and menu items are now always focusable
and hoverable, while still prevented from being activated.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vursen vursen added the v26 To be done in V26 label Aug 26, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v26 To be done in V26

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant