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

Mat-Paginator: Ensures elements with an ARIA role that require child roles contain them. #20529

Closed
Sheepu-dev opened this issue Sep 10, 2020 · 4 comments

Comments

@Sheepu-dev
Copy link

Sheepu-dev commented Sep 10, 2020

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/angular/mkqleegjgor?file=app%2Fpaginator-overview-example.ts

Steps to reproduce:

  1. Go to the Preview window or copy the URL from Preview window and browse with the browser having Accessibility Insight tool as extension.
  2. Run the Accessibility Insight(Keros) tool and check the Result.

Expected Behavior

Accessibility Insight should not report any violations for Paginator Control.
ARIA Role required by Child Element.

Actual Behavior

Ensures elements with an ARIA role that require child roles contain them.

image

Environment

  • Angular:~0.901.1
  • CDK/Material:5.2.5
  • Browser(s):Edge
  • Operating System (e.g. Windows, macOS, Ubuntu): Window
@Sheepu-dev Sheepu-dev added the needs triage This issue needs to be triaged by the team label Sep 10, 2020
@crisbeto
Copy link
Member

crisbeto commented Sep 13, 2020

See the discussion here: #20082 (comment). Our select is based on a newer version of the ARIA spec that doesn't require an input to be placed inside a combobox. A lot of these automatic accessibility checks haven't been updated to the latest spec yet.

Furthermore, it looks like you're running a very old version of Material that doesn't include some of the latest accessibility improvements.

@crisbeto crisbeto added area: material/select and removed needs triage This issue needs to be triaged by the team labels Sep 13, 2020
@Sheepu-dev
Copy link
Author

@crisbeto I am not running older version of Material .I am running Latest version of Material(i.e 10.2.1) and found same Accessibility Insight Issue. Please refer below screen .

image

image

Can you please reopen the reported Bug

@crisbeto
Copy link
Member

The thread I mentioned above (#20082 (comment)) refers to the latest version.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants