1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

[A11Y] Adds missing focus rings back to control elements (#3016)

* Remove the stuff that removes critical accessibility features

* Remove no outline from basic blade layout

* Remove focus outline from FormControls
This commit is contained in:
David Wheatley
2021-09-13 23:47:13 +01:00
committed by GitHub
parent b0bc021034
commit c10a30bae9
5 changed files with 2 additions and 13 deletions

View File

@@ -13,8 +13,7 @@
transition: var(--transition);
-webkit-appearance: none;
&:focus,
&.focus {
&:focus {
background-color: @body-bg;
color: @text-color;
border-color: @primary-color;
@@ -44,6 +43,7 @@
font-size: 16px; // minimum font-size required to prevent page zoom on focus in iOS 10
}
}
.helpText {
font-size: 12px;
line-height: 1.5em;