Skip to content

Accessibility Dropdown > Radio buttons are not clickable #1590

Description

@clairep94

Most appropriate sections of the p5.js website?

Other (specify if possible)

What is your operating system?

Mac OS

Web browser and version

No response

Actual Behavior

  • Open accessibility options dropdown
  • Click on any row, but on the text --> can toggle the option on/off
  • Click on the same row, but on the radio icon --> has no effect

Expected Behavior

  • Would expect that clicking on the radio icon would also toggle the option on/off

Steps to reproduce

Reproduction demo:

Screen.Recording.2026-09-01.at.23.57.30.mov

I think the issue is within the Dropdown component here where the onClick handler is around a button that wraps only the text

Wondering if we should also update the variant types, since it says "radio", but in the comments it says in the "radio" variant, we can have multiple items selected --> so this should be "checkbox"

& maybe we swap the button pattern for an input type=checkbox?

Would you like to work on the issue?

Sure

Activity

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

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions