MDL-67968 question: do not display sr-only legends

.accesshide was removed because:
 1. It was only kept in case it's still used somewhere, in a custom form
 field for instance.
 2. It was broken since 3.5 where we integrated
 https://github.com/bmbrands/moodle/compare/ab65b87f3d...MDL-62419-master
 So it's been ages that the reason mentioned on point 1 was not being
 satisfied
This commit is contained in:
Shamim Rezaie 2020-02-26 17:40:05 +11:00
parent 8fe311a3a5
commit a728edcb0c
3 changed files with 3 additions and 16 deletions

View File

@ -221,12 +221,7 @@
body.path-question-type {
/* Hacks to display the labels within a form group. */
.fitem_fgroup .accesshide {
font: inherit;
position: static;
padding-right: .3em;
}
.form-group .sr-only {
.form-group .sr-only:not(legend) {
position: static;
width: auto;
height: auto;

View File

@ -14917,11 +14917,7 @@ a.ygtvspacer:hover {
body.path-question-type {
/* Hacks to display the labels within a form group. */ }
body.path-question-type .fitem_fgroup .accesshide {
font: inherit;
position: static;
padding-right: .3em; }
body.path-question-type .form-group .sr-only {
body.path-question-type .form-group .sr-only:not(legend) {
position: static;
width: auto;
height: auto;

View File

@ -15135,11 +15135,7 @@ a.ygtvspacer:hover {
body.path-question-type {
/* Hacks to display the labels within a form group. */ }
body.path-question-type .fitem_fgroup .accesshide {
font: inherit;
position: static;
padding-right: .3em; }
body.path-question-type .form-group .sr-only {
body.path-question-type .form-group .sr-only:not(legend) {
position: static;
width: auto;
height: auto;