-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
bug(mat-grid-list): Remove <figure> element from inside mat-grid-tile #21775
Comments
Removes the built-in `figure` element inside the grid tile since it isn't always desirable from an accessibility perspective. Fixes angular#21775.
hey all, i've come accross this issue, as i am facing some problems with the figure element and I saw that the PR was opened and already approved quite some time back, so I wanted to ask about the usual turn-around time of such issue. So by when would you approximately merge the pr? |
Removes the built-in `figure` element inside the grid tile since it isn't always desirable from an accessibility perspective. Fixes angular#21775.
Removes the built-in `figure` element inside the grid tile since it isn't always desirable from an accessibility perspective. Fixes angular#21775.
Removes the built-in `figure` element inside the grid tile since it isn't always desirable from an accessibility perspective. Fixes angular#21775.
Removes the built-in `figure` element inside the grid tile since it isn't always desirable from an accessibility perspective. Fixes #21775.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Reproduction
When using the mat-grid-tile element, Angular inserts a "figure" tag on page render. This can cause confusion for screen readers reading aloud the "figure" tag before reading the content inside the tile.
Expected Behavior
Content inside the mat-grid-tile should render as the programmer enters it, rather than inserting a "figure" tag. (If the programmer wishes to surround the content in a figure, they can enter that themselves).
Actual Behavior
The mat-grid-tile component renders a "figure" tag around the ng-content inserted by the programmer, causing unwanted behavior with screen readers.
Environment
The text was updated successfully, but these errors were encountered: