Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(eslint-plugin-template): accessibility-elements-content not allowing some attributes/inputs #397

Merged

Conversation

rafaelss95
Copy link
Member

@rafaelss95 rafaelss95 commented Apr 7, 2021

1st. commit: with this isHiddenFromScreenReader now returns true for empty aria-hidden, e.g.: <div aria-hidden></div>;
2nd. commit: with this accessibility-elements-content now ignores elements when the attributes aria-hidden, aria-label, outerHTML and title are present.

Btw, part of this fix was reported in mgechev/codelyzer#993.

It's also related to jsx-eslint/eslint-plugin-jsx-a11y#423 and its proposed fix jsx-eslint/eslint-plugin-jsx-a11y#727

@rafaelss95 rafaelss95 force-pushed the fix/accessibility-elements-content branch from 5d46820 to 1b34522 Compare April 7, 2021 03:24
@nx-cloud
Copy link

nx-cloud bot commented Apr 7, 2021

Nx Cloud Report

CI ran the following commands for commit 561336b. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=build --all --parallel
#000000 nx run-many --target=check-configs --all --parallel
#000000 nx run-many --target=test --all --parallel
#000000 nx run-many --target=typecheck --all --parallel

Sent with 💌 from NxCloud.

@nx-cloud
Copy link

nx-cloud bot commented Apr 7, 2021

Nx Cloud Report

CI ran the following commands for commit 1b34522. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=build --all --parallel
#000000 nx run-many --target=check-configs --all --parallel
#000000 nx run-many --target=test --all --parallel
#000000 nx run-many --target=typecheck --all --parallel

Sent with 💌 from NxCloud.

@rafaelss95 rafaelss95 force-pushed the fix/accessibility-elements-content branch from 1b34522 to 469d415 Compare April 7, 2021 11:42
@rafaelss95 rafaelss95 force-pushed the fix/accessibility-elements-content branch from 469d415 to 93c823b Compare April 7, 2021 12:13
@JamesHenry JamesHenry merged commit ffedaa2 into angular-eslint:master Apr 11, 2021
@rafaelss95 rafaelss95 deleted the fix/accessibility-elements-content branch April 13, 2021 02:57
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.

None yet

2 participants