You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the docs I wrote for <Button /> incorrectly state that, to use it as a link, you can simply wrap it inside an <a /> or <Link /> tag/component. However, this is invalid HTML, and results in an issue @VanishMax discovered where users must hit Tab twice for each button wrapped in a link.
To fix this, the <Button /> component should be rewritten to be able to take the form of a link. We'll have to be thoughtful about this, since we don't only want to support <a />, but also any type of other link component that libraries like React Router use for links (in React Router's case, the <Link /> component).
The text was updated successfully, but these errors were encountered:
Currently, the docs I wrote for
<Button />
incorrectly state that, to use it as a link, you can simply wrap it inside an<a />
or<Link />
tag/component. However, this is invalid HTML, and results in an issue @VanishMax discovered where users must hit Tab twice for each button wrapped in a link.To fix this, the
<Button />
component should be rewritten to be able to take the form of a link. We'll have to be thoughtful about this, since we don't only want to support<a />
, but also any type of other link component that libraries like React Router use for links (in React Router's case, the<Link />
component).The text was updated successfully, but these errors were encountered: