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
  • Merge requests
  • !37629

New Skip Navigation component

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Julien Déramond requested to merge main-jd-skip-navigation-component into main Dec 12, 2022
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 4

Description

This PR suggests to add a new "Skip navigation" component to our list of components.

Warning Heavily WIP. Would need real descriptions, examples and so on.

Motivation & Context

First of all, I know that it is not a real component since it doesn't require any extra JS nor CSS, and uses only utilities. However I'm wondering if, still, it shouldn't appear as a component in Bootstrap (it could be enhanced with another example with a navbar and a default design for example).

Another option would be to have a dedicated example page but it would remain hidden in some part of the docs.

I don't have a strong opinion on it but it could maybe help propagating accessibility good practices.

I'd love to have your feedback/opinion on this idea 🙏

Type of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • All new and existing tests passed

Live previews

  • Skip navigation component
  • Mention in Getting Started > Accessibility > Visually hidden content
  • Mention in Helpers > Visually hidden
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: main-jd-skip-navigation-component