Skip to content

LinkButton component that will render a link styled as a Button #10676

@iwasn

Description

@iwasn

Describe the feature that you would like added

We would like to have the option for the fabric Button component so that we can render an anchor element instead of a button element depending if we want to use the component for navigation. We have been passing a Link component as a children of the Button component, which results in an accessibility bug in which we have conflicting aria roles nesting within each other. A workaround has been to re-skin the the style of a Link element to match that of the office fabric button.

We would like a feature resembling the LinkButton component implemented by Material UI.

What component or utility would this be added to

Button components

Have you discussed this feature with our team, and if so, who

Additional context/screenshots

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions