Skip to content

FormRadio and FormInput Component does not offer a capability to not add an aria-label #621

@Ibabalola

Description

@Ibabalola

Describe the bug
Form Radio takes name as an aria-label when one is not provided however I need the aria-label attribute to be deleted as it
overrides the visible label and the already existing programmatic association between the
and the negates the need for an aria-label.

Expected behavior
When the aria-label property is not provided do not add it to the radio

Line 45 in the src/formRadio/FormRadio.tsx file
ariaLabel={ariaLabel || name}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions