Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #31908
Closed
Open
Issue created Oct 16, 2020 by Administrator@rootContributor1 of 8 checklist items completed1/8 checklist items

Carousel accessibility improvements

Created by: ffoodd

Carousels might be improved, or at least it worths the try:

  • WAI ARIA carousel best practices
  • WAI Carousel Tutorial

Required

  • Add a play/pause button
  • Focus the selected item
  • Disable prev/next controls when data-bs-wrap="false" and stopped at one end

Nice to have

  • Progressive enhancement: adding prev/next buttons and indicators through JS
    • maybe at least drop them when JS is disabled?
  • Announce the current item using live region: that seems a bit too much IMHO, but hey, suggesting
  • Pause on hover/focus
  • Hide transitioning elements from ATs: not quite sure of the current behaviour though, might already be the case.

Docs:

  • Add link to WAI Tutorial, maybe? https://www.w3.org/WAI/tutorials/carousels/

Relates to #22549 (closed)

Assignee
Assign to
Time tracking