Skip to content

docs: progress bar documentation fixes and notes for accessibility #12043#12085

Merged
joeworkman merged 2 commits intofoundation:developfrom
ahukkanen:fix/12043
Aug 24, 2021
Merged

docs: progress bar documentation fixes and notes for accessibility #12043#12085
joeworkman merged 2 commits intofoundation:developfrom
ahukkanen:fix/12043

Conversation

@ahukkanen
Copy link
Copy Markdown
Contributor

Description

The tabindex attribute should not be defined for progress bar elements as this makes the progress bars focusable. There is no reason for them to be focusable by default.

In addition, the behavior of the progress bar in screen readers deserves a section in the progress bar documentation as this is not obvious for developers.

Types of changes

  • Documentation
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (anything that would change an existing functionality)
  • Maintenance (refactor, code cleaning, development tools...)

Checklist

  • I have read and follow the CONTRIBUTING.md document.
  • The pull request title and template are correctly filled.
  • The pull request targets the right branch (develop or develop-v...).
  • My commits are correctly titled and contain all relevant information.
  • I have updated the documentation accordingly to my changes (if relevant).
  • I have added tests to cover my changes (if relevant).

ahukkanen added 2 commits May 29, 2020 12:22
The tabindex attribute makes the progress bars focusable and there
is no real reason for them to be focusable.

This change improves accessibility.
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@joeworkman joeworkman merged commit 5297122 into foundation:develop Aug 24, 2021
@ahukkanen ahukkanen deleted the fix/12043 branch August 25, 2021 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation: Progress bar element's tabindex / focus ability

3 participants