From 288f26a183ca09142f204c4ef7485cd50f89e6d9 Mon Sep 17 00:00:00 2001 From: Mike Dvorscak Date: Fri, 31 Jan 2020 14:18:52 -0600 Subject: [PATCH 1/2] Update focus/hover style for link-button To match the default browser style --- docs/rules/anchor-is-valid.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/rules/anchor-is-valid.md b/docs/rules/anchor-is-valid.md index ec781f83f..78d22faa3 100644 --- a/docs/rules/anchor-is-valid.md +++ b/docs/rules/anchor-is-valid.md @@ -154,9 +154,8 @@ Then use styling to change its appearance to that of a link: padding: 0; } -.link-button:hover, .link-button:focus { - text-decoration: none; + text-decoration: thin dotted; } ``` From 2501a7f92f2b892d177b2cb9bdb988f093e4b111 Mon Sep 17 00:00:00 2001 From: Jesse Renee Beach Date: Tue, 6 Apr 2021 17:41:35 -0700 Subject: [PATCH 2/2] Remove the link-button focus css from the anchor-is-valid doc --- docs/rules/anchor-is-valid.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/rules/anchor-is-valid.md b/docs/rules/anchor-is-valid.md index 78d22faa3..b86f46b9e 100644 --- a/docs/rules/anchor-is-valid.md +++ b/docs/rules/anchor-is-valid.md @@ -153,10 +153,6 @@ Then use styling to change its appearance to that of a link: margin: 0; padding: 0; } - -.link-button:focus { - text-decoration: thin dotted; -} ``` This button element can now also be used inline in text.