Skip to content

(v9) Button: aria-disabled="false" when disabled is set #20052

@ling1726

Description

@ling1726

Environment Information

  • Package version(s): 9

Please provide a reproduction of the bug in a codepen:

https://codesandbox.io/s/competent-rgb-sn659?file=/src/App.js

Actual behavior:

if disabled is set on Button, aria-disabled is set to false

Expected behavior:

if disabled is set on Button, aria-disabled is set to true, but should not be included if native disable is used with native button

Priorities and help requested:

Are you willing to submit a PR to fix? (Yes, No)

Requested priority: (Blocking, High, Normal, Low)

Products/sites affected: (if applicable)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions