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
  • #22549
Closed
Open
Issue created May 01, 2017 by Administrator@rootContributor

Accessibility issues in brief.

Created by: LaurenceRLewis

Bootstrap 4 recommendations for accessibility. https://v4-alpha.getbootstrap.com/

Looking through current and closed issues some of these have been touched upon.

Modal

Issue: role="dialog" is missing required attributes.

Solution: A Dialog is a descendant window of the primary window, where initial focus goes to an element within the dialog. The container that includes role="dialog" must also include a valid label:

  • aria-label
  • aria-labelledby
  • aria-describedby is required to point to the message body for the Dialog text.

If the Dialog is meant to be modal, aria-modal="true" must be set on the container that contains role="dialog".

Recommendation remove role="document". Role=documents purpose is to negate the use of role="application" in limited circumstances.

Accordion

Issues

  • Aria-tab missing aria-selected attribute
  • Aria-tabpanel should not be nested within aria-tablist

ARIA attributes such as role="tablist" and role="tab" should not be included within an accordion. This is because the insertion of inline content would place dynamic content sections within the same Tablist container, making it impossible to determine the order of nested Tab controls when present within the inserted content

Tab controls

Issues

  • Aria-tab missing aria-selected attribute.
  • A Tab Control should have only one tab stop. The arrow keys are then used to switch focus between each Tab, and the ENTER or SPACE key is used to expand the desired Tab content panel.
  • To address current issues with IOS, where the correct number of tabs is not announced correctly by VoiceOver, include aria-setsize and aria-posinset, this will force the screen reader to announce the correct numbering.

A note about carousels

Expected behaviors: The beginning and ending boundaries should be conveyed to screen reader users. Role="region" aria-label="carousel". Note: content changes should be announced to screen reader users only when a navigation button is manually activated. All navigation buttons should be keyboard accessible and include unique accesskeys for screen reader users. Alt + 1 Previous slide alt + 2 next slide. Auto cycling should pause when an element within the carousel receives focus or when the mouse is moved into the region. Auto cycling should resume when focus moves out of the carousel or when the mouse moves out of the region, and auto cycling should be stoppable from anywhere on the page using the keyboard.

What is the time frame for the closed issues be applied to the examples? It would be good to run testing on the updated versions.

Thanks for building this great resource.

Cheers Laurence

Assignee
Assign to
Time tracking