diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-03-11 12:37:22 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-03-11 14:12:49 +0000 |
commit | 9e258681c94f6e988c8a410b9ef7e03cb4262f96 (patch) | |
tree | 95de9dfecc082d17b9968cbebc34d0595102cdd2 /web/cobrands | |
parent | de1a7efcf4b33e60829e7c5a946bc82632247a28 (diff) |
Improve accessibility of pretty radio buttons.
The radio icons are e.g. unselectable in VoiceOver if they are
display:none. This also helps with client-side validation.
Diffstat (limited to 'web/cobrands')
-rw-r--r-- | web/cobrands/sass/_base.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index fa6a34a7a..a833bb7cf 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -1741,7 +1741,8 @@ table.nicetable { display: flex; // fancy full-width buttons for browsers that support flexbox input { - display: none; + position: absolute; + left: -999px; } label { |