This commit is contained in:
Andrew Nicols 2024-05-29 14:26:53 +08:00
commit c14253b2eb
No known key found for this signature in database
GPG Key ID: 6D1E3157C8CFBF14
7 changed files with 8 additions and 14 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -425,8 +425,6 @@ export default class ColumnSearch extends search_combobox {
const rowCell = avgRowCell ?? rangeRowCell;
rowCell?.classList.toggle('d-none');
rowCell?.setAttribute('aria-hidden',
rowCell?.classList.contains('d-none') ? 'true' : 'false');
} else if (content.classList.contains('d-none')) {
// We should always have content but some cells do not contain menus or other actions.
element.classList.remove('collapsed');
@ -436,19 +434,15 @@ export default class ColumnSearch extends search_combobox {
}
nodeSet.forEach(node => {
node?.classList.remove('d-none');
node?.setAttribute('aria-hidden', 'false');
});
expandButton?.classList.add('d-none');
expandButton?.setAttribute('aria-hidden', 'true');
} else {
element.classList.add('collapsed');
content.classList.remove('d-flex');
nodeSet.forEach(node => {
node?.classList.add('d-none');
node?.setAttribute('aria-hidden', 'true');
});
expandButton?.classList.remove('d-none');
expandButton?.setAttribute('aria-hidden', 'false');
}
}
});

View File

@ -218,12 +218,6 @@ EOF;
'type' > 'tag',
'values' => array_merge($standardtags, $extratags),
],
// TODO: MDL-80831 - Disable the target-size rule for now until we start working towards WCAG 2.2 Level AA compliance.
'rules' => [
'target-size' => [
'enabled' => false,
],
],
]);
}
}

View File

@ -2204,6 +2204,8 @@ $footer-link-color: $bg-inverse-link-color !default;
a {
color: $footer-link-color;
text-decoration: underline;
padding-top: map-get($spacers, 1);
padding-bottom: map-get($spacers, 1);
.icon {
color: $footer-link-color;

View File

@ -25170,6 +25170,8 @@ h3.sectionname .inplaceeditable.inplaceeditingon .editinstructions {
.footer-dark a {
color: #fff;
text-decoration: underline;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.footer-dark a .icon {
color: #fff;

View File

@ -25170,6 +25170,8 @@ h3.sectionname .inplaceeditable.inplaceeditingon .editinstructions {
.footer-dark a {
color: #fff;
text-decoration: underline;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.footer-dark a .icon {
color: #fff;