Skip to content

Palette Manager (Manage Palette dialog): multiple WCAG AA accessibility failures #5505

Closed

Description

@w9fyi

Summary

The Manage Palette dialog (editorTheme.palette.editor) has 20 WCAG AA accessibility failures that make it largely unusable with VoiceOver + Safari and difficult to use with keyboard-only navigation. Three issues are critical blockers.

Environment tested: Node-RED 4.1.4, macOS Safari + VoiceOver, keyboard-only navigation.


Critical issues

1. All action buttons are <a href="#"> — spacebar does not activate them in Safari

Every interactive control in both the Nodes tab and Install tab (Enable, Disable, Remove, Update, Install, Sort, Refresh) is an <a href="#"> element. Safari does not fire click on anchor elements activated with the spacebar key (only Enter works on links). This makes every action in the palette manager unreachable for keyboard-only users on Safari/macOS.

Affected controls: setButton, enableButton, updateButton, removeButton, installButton, sortRelevance, sortAZ, sortRecent, refreshButton, moreLink

Fix: Replace $('<a href="#">') with $('<button type="button">') for all elements that perform actions rather than navigation.

2. Node-set expand/collapse toggle has no aria-expanded and no accessible name

The chevron button that expands each module's node-set list (red-ui-palette-module-set-button) has no accessible name and never announces its open/closed state. VoiceOver users cannot discover this control or know whether the tree is expanded, making the entire module structure opaque.

Fix: Add aria-expanded="false", update it on click, and give the button an aria-label identifying which module it belongs to.

3. Sort buttons are icon-only with no accessible name

The three sort controls in the Install tab (relevance, A–Z, recent) contain only Font Awesome icons. Their labels are attached via RED.popover.tooltip() which is hover-only and not surfaced by VoiceOver. All sorting capability is invisible to screen reader users.

Fix: Add aria-label from the i18n key to each sort button, and add aria-pressed reflecting the active sort.


Serious issues (11)

# Issue WCAG Criterion
4 <button> elements missing type="button" — Safari defaults to submit, breaking Cancel/Upload inside the upload form 4.1.2 A
5 Enable/disable toggle has no aria-pressed and no module name in its label — indistinguishable when multiple modules shown 4.1.2 A
6 Disabled buttons use CSS class .disabled only — VoiceOver never announces them as unavailable 4.1.2 A
7 Refresh button is icon-only, tooltip is hover-only 1.1.1 A
8 External docs links are icon-only with no name and no new-window warning 2.4.4 A
9 Tab widget (<ul id="red-ui-palette-editor-tabs">) missing role="tablist", role="tab", role="tabpanel" — announced as a list of links, not a tab control 4.1.2 A
10 Filter input (Nodes tab) and search input (Install tab) use placeholder as their only accessible name — disappears during editing 1.3.1 A
11 Catalogue filter <select> has no <label> 3.3.2 A
12 No aria-live region for filter/search result counts 4.1.3 AA
13 No aria-live region for install/update/remove operation status — the .red-ui-palette-module-shade-status element is not a live region 4.1.3 AA
14 Per-node-set enable buttons have identical visible text — indistinguishable from each other by screen reader users 4.1.2 A

Moderate issues (5)

# Issue WCAG Criterion
15 Font Awesome <i> icons throughout are not aria-hidden="true" 1.1.1 A
16 File upload <input type="file"> nested inside <button> — invalid DOM, keyboard broken 4.1.1 A
17 Focus dropped to <body> after install/remove operations — no focus restoration 2.4.3 A
18 Deprecated package tooltip is hover-only — no programmatic association to the badge 4.1.3 AA
19 Update status widget button builds content dynamically with un-hidden icons 4.1.2 A

Recommended approach

Most of these can be fixed in the createNodeTab() and createInstallTab() functions in @node-red/editor-client:

  1. Replace $('<a href="#">') with $('<button type="button">') throughout both functions
  2. Add type="button" to all bare $('<button>') calls
  3. Add aria-hidden="true" to all $('<i class="fa ...') decorative icons
  4. Add ARIA role attributes after RED.tabs.create() in createSettingsPane()
  5. Add <label> elements for filterInput and searchInput
  6. Add <label> for the catalogue <select>
  7. Add role="status" aria-live="polite" to .red-ui-palette-module-shade-status
  8. Add two role="status" live regions (one per tab) for result counts
  9. Add aria-expanded to the set-expand button and update it on click
  10. Separate the file <input> from its wrapping <button>

Happy to submit a pull request if this is accepted as a known issue.

Activity

  1. knolleary commented on Jun 11, 2026

    @knolleary
    Member

    A number of accessibility improvements were made in Node-RED v5. May not be perfect, but better than it was,

  2. w9fyi commented on Jun 11, 2026

    @w9fyi
    Author

    Thanks for the update — the v5 accessibility PRs are a meaningful step forward. I'll test against 5.0.0 with VoiceOver + Safari and open targeted follow-up issues for anything that's still broken rather than re-litigating this one. Appreciate the team's work on this.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions