Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

fix(button): better support for ngDisabled and tabindex attributes #1168

Closed
wants to merge 1 commit into from

Conversation

ThomasBurleson
Copy link
Contributor

Refs #1074.

@ThomasBurleson ThomasBurleson added in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs a11y This issue is related to accessibility test labels Jan 12, 2015
@ThomasBurleson
Copy link
Contributor Author

@marcysutton - can you review this for ARIA correctness. Thx.

* @returns {boolean}
*/
function isButton(attr) {
return !isAnchor(attr) && (attr.role == "button");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ThomasBurleson what is the use-case for this? We use native button elements that won't have a role attribute.

@ThomasBurleson ThomasBurleson modified the milestone: Backlog Jan 26, 2015
@marcysutton
Copy link
Contributor

@ThomasBurleson what's the status of this PR? I just noticed disabled checkboxes have tabIndex="0" even though they shouldn't, probably because of ngAria.

@ThomasBurleson
Copy link
Contributor Author

Will not merge.

@ThomasBurleson ThomasBurleson removed the in progress Mainly for in progress PRs, but may be used for issues that require multiple PRs label Apr 13, 2015
@marcysutton marcysutton deleted the wip-button-ngdisabled branch April 14, 2015 01:09
@Splaktar Splaktar removed this from the - Backlog milestone Jun 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a11y This issue is related to accessibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants