Skip to content

Conversation

rafawendel
Copy link
Member

@rafawendel rafawendel commented Mar 9, 2021

What type of PR is this? (check all applicable)

  • Feature

Description

This PR is a split on #5409
This PR follows on #5418, #5419, #5420

It is the fourth step to fix issues on standardization, interactivity and improve keyboard accessibility.

This aims to clean all remaining <a> and <button> and replace it with own semantic buttons. There should be no visual changes.

The following behavior for links, buttons, link-like and button-like components is aimed:

  • Links that look like links: <Link> - Renders <a>
  • Buttons that look like buttons: <Button> - Renders Antd <Button>
  • Links that look like buttons: <Link.Button> - Renders Antd <Button>, which is rendered as an <a>
  • Text Buttons "buttons that look like links": <PlainButton> - Renders styleless <button>

Note for reviewers:

Commits start at c8caa7f and are grouped as

@rafawendel rafawendel marked this pull request as draft March 9, 2021 19:50
@rafawendel rafawendel force-pushed the replace-anchor-button-with-plainbutton branch from 210f6e6 to e2ee89f Compare March 10, 2021 22:39
@rafawendel rafawendel force-pushed the replace-anchor-button-with-plainbutton branch from 963d0c7 to fd23521 Compare March 11, 2021 03:28
@rafawendel rafawendel changed the title Replace <a> and <button> with <PlainButton> Replace <a> and <button> with <PlainButton> (round 1) Mar 11, 2021
@rafawendel rafawendel mentioned this pull request Mar 12, 2021
1 task
@rafawendel rafawendel closed this Mar 21, 2021
@guidopetri guidopetri deleted the replace-anchor-button-with-plainbutton branch July 22, 2023 03:15
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.

1 participant