[Button][Accessibility] Disabled button having both disabled attribute and aria-disabled="true"
Bug Report
- Package version(s): 1.9.2
Describe the issue:
ARIA guideline says "Only use the aria-disabled attribute for elements that are not allowed to have a disabled attribute in HTML5", but for office fabric disabled button, we are passing both "disabled attribute" and "aria-disabled=true".
Link for guideline: https://www.w3.org/TR/html-aria/

Actual behavior:
Both disabled="" and aria-disabled="true" are included for disabled button
Expected behavior:
Only disabled="" should be included as disabled is supported by button input.
Makes sense to me. It would be awesome if you could create a PR to fix this issue?
Button component can also return anchor element, while making the change lets make sure that we still have aria-disabled="true" when it's an element.
@atneik Raised the PR, can you take a look at it?