Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Breadcrumb uses button when no href is present, tooltip labels button #29803

Merged
merged 4 commits into from
Nov 9, 2023

Conversation

smhigley
Copy link
Contributor

@smhigley smhigley commented Nov 9, 2023

Previous Behavior

We had focusable <a> tags with no href, which is semantically the same as a <span>. We could also potentially add role=link, but it seems better to render items with no href or explicit as as a <button>.

This also makes a minor story fix to make <Tooltip> directly wrap <BreadcrumbButton> so that the aria-label is being applied to the correct element.

@smhigley smhigley requested a review from a team as a code owner November 9, 2023 17:03
Copy link

codesandbox-ci bot commented Nov 9, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1f55e86:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented Nov 9, 2023

📊 Bundle size report

🤖 This report was generated against f500d2bd42ac9f6bd6b162f7f7271ac13a1426b9

Copy link

size-auditor bot commented Nov 9, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: f500d2bd42ac9f6bd6b162f7f7271ac13a1426b9 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Nov 9, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@smhigley smhigley merged commit 506c225 into microsoft:master Nov 9, 2023
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants