Skip to content

screen readers don't read labels for radio buttons in bc forms #4289

@johrstrom

Description

@johrstrom

screen readers don't read labels for radio buttons in bc forms. I think this is because the label is for a different ID.

Consider this YAML. the options for 'whole' and 'shared' are read because they have their own label, but the base label 'gpu' is missed entirely.

form:
  - gpu
attributes:
  gpu:
    widget: radio_button
    options:
      - ['shared', 'shared']
      - ['whole', 'whole']
    value: 'shared'
    required: true
    help: |
      Request a shared GPU or use the whole GPU.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Reviewed, Scheduled

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions