Skip to content

Anchor Accessibility #1047

Answered by SiTaggart
GiantRobots asked this question in General
Dec 15, 2020 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @GiantRobots, this is a good question that'll I'll try and cover as best I can.

So the first part is that the Anchor component was one of the first components we documented. We've since added forwarding the ref and spreading props to make it act as if it's just a native HTML anchor element but forgot to update the docs to reflect that. We should really be only documenting APIs that aren't covered by the HTML element itself though, mainly because global HTML attributes and events are pretty exhaustive, and are now extended from in most component type interfaces (we mostly extend a native html elements typings when creating a components interface).

The second part is about how to handle …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@TheSisb
Comment options

@GiantRobots
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by corinne-nagel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants