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
  • #25277
Closed
Open
Issue created Jan 11, 2018 by Administrator@rootContributor

Modal tabbing and shift+tabbing behavior

Created by: andrewnding

Not sure if this is intended behavior, but the outermost div with the modal class has a tabindex of -1, which seems to me that it should get initial focus when the modal opens, but should not be reachable again by tabbing. However you can tab to it, which makes it seem like the focus highlighting has disappeared.

Another related possible issue is that when shift+tabbing, nothing happens if you try to shift tab past the first focusable element (so that the focus is on the outer div with tabindex -1). I would expect the focus to go from the first focusable element to the last focusable element, much like how if you tab forward, it jumps from the last focusable element to the first focusable element.

Modal demo for reference: https://getbootstrap.com/docs/4.0/components/modal/#live-demo

Assignee
Assign to
Time tracking