Skip to content

fix(allowed-role): area without href can have a button or link role#3275

Merged
WilcoFiers merged 2 commits intodevelopfrom
area-allow-button-link
Nov 12, 2021
Merged

fix(allowed-role): area without href can have a button or link role#3275
WilcoFiers merged 2 commits intodevelopfrom
area-allow-button-link

Conversation

@WilcoFiers
Copy link
Copy Markdown
Contributor

As per a recent update in ARIA in HTML

Closes issue: #3266

@WilcoFiers WilcoFiers requested a review from straker November 12, 2021 11:33
@WilcoFiers WilcoFiers requested a review from a team as a code owner November 12, 2021 11:33
assert.isTrue(actual);
});

it('returns false if elements implicit role does not match the role', function() {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think this test adds any value. It doesn't return false for just this reason, it returns false because none of the things we test for that could make it true are. So I decided to remove it rather than put in some other element.

@WilcoFiers WilcoFiers merged commit bf7e60a into develop Nov 12, 2021
@WilcoFiers WilcoFiers deleted the area-allow-button-link branch November 12, 2021 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants