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

Carousel: Improve accessibility #1996

Merged
merged 3 commits into from
Jun 25, 2021
Merged

Conversation

KamilBugnoKrk
Copy link
Contributor

@KamilBugnoKrk KamilBugnoKrk commented Jun 24, 2021

Carousel: used section instead of div, added labels to prev/next buttons, and change the order of tab index

Copy link
Member

@HClausing HClausing left a comment

Choose a reason for hiding this comment

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

Thanks for these improvements, specially on MudCarousel.

@@ -0,0 +1,4 @@
@namespace MudBlazor.UnitTests.TestComponents

<MudAlert Severity="Severity.Normal">The reactor type is RBMK-1000</MudAlert>
Copy link
Member

Choose a reason for hiding this comment

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

Why is this necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It wasn't necessary. I removed it

@mikes-gh
Copy link
Contributor

Its great we are thinking accessibility but I would prefer to see one PR per component. Even if they are small changes

@KamilBugnoKrk KamilBugnoKrk changed the title Alert, ToggleIconButton, Carousel: Improve accessibility Carousel: Improve accessibility Jun 25, 2021
@KamilBugnoKrk
Copy link
Contributor Author

@mikes-gh I divided the changes into three separate PRs.
This PR is only for Carousel. ToggleIconButton: #2002, Alert: #2003

@mikes-gh
Copy link
Contributor

@KamilBugnoKrk I read you blog article about accessibility and was inspired. Such an important part of web design for the people with sight difficulties which is often forgotten. Thanks for the PRs

@mikes-gh mikes-gh merged commit ae16036 into MudBlazor:dev Jun 25, 2021
@mikes-gh mikes-gh added this to the 5.0.15 milestone Jun 25, 2021
@juniorfelixgb
Copy link

The carousel component support background images?

@HClausing
Copy link
Member

The carousel component support background images?

Globally not, You should setup background for every MudCarouselItem (page).

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.

5 participants