diff --git a/CHANGELOG-WIP.md b/CHANGELOG-WIP.md index 60cdee39031..6ba92816841 100644 --- a/CHANGELOG-WIP.md +++ b/CHANGELOG-WIP.md @@ -13,6 +13,8 @@ - Improved the accessibility of Selectize inputs. ([#16110](https://github.com/craftcms/cms/pull/16110)) - Improved the accessibility of the image rotation control within the Image Editor. ([#16218](https://github.com/craftcms/cms/pull/16218)) - Improved the accessibility of action menus on the Plugins index page. +- Improved the accessibility of “More” and “Advanced” toggle triggers. ([#16293]](https://github.com/craftcms/cms/pull/16293)) +- Improved the accessibility of the Craft Support widget. ([#16293]](https://github.com/craftcms/cms/pull/16293)) ### Administration - Added the “Show the ‘URL Suffix’ field” setting to Link fields. ([#15813](https://github.com/craftcms/cms/discussions/15813)) diff --git a/src/fields/Link.php b/src/fields/Link.php index 3b00c1676d3..9459e300d2f 100644 --- a/src/fields/Link.php +++ b/src/fields/Link.php @@ -393,7 +393,7 @@ public function getSettingsHtml(): ?string 'on' => $this->showTargetField, ]) . Html::tag('hr') . - Html::a(Craft::t('app', 'Advanced'), options: [ + Html::button(Craft::t('app', 'Advanced'), options: [ 'class' => 'fieldtoggle', 'data' => ['target' => 'advanced'], ]) . diff --git a/src/templates/_components/fieldtypes/elementfieldsettings.twig b/src/templates/_components/fieldtypes/elementfieldsettings.twig index 456e61b6612..a6a7c6e802b 100644 --- a/src/templates/_components/fieldtypes/elementfieldsettings.twig +++ b/src/templates/_components/fieldtypes/elementfieldsettings.twig @@ -134,7 +134,7 @@ {% block advancedSettings %}
- {{ "Advanced"|t('app') }} +