As a Link vs Plain Text
Branch name is rendered as a link by default. You can also represent the branch label in plain text.
As link: main
As text: main
Interactive Examples
Try hovering over the branch name links to see the hover state.
Accessibility
Known accessibility issues: For GitHub staff, please refer to the internal accessibility documentation for known issues with this component.
- Branch name links should have descriptive text or aria-labels when the branch name alone might not provide sufficient context
- When used as plain text, ensure sufficient color contrast
- Icons should have appropriate aria-hidden attributes since they are decorative
Feedback
Help us improve this component by providing feedback, asking questions on Slack, or updating this file on GitHub.
' width="100%" height="1200" frameborder="0" sandbox="allow-scripts allow-same-origin allow-popups">