From ea1906618df21d29bdb221ba54f81e4efa928c8e Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sat, 5 Sep 2020 19:59:31 +0200 Subject: [PATCH] fix(PublicPage): improve accesibility of schedule button --- assets/development/styles/organization.css | 13 +++++++++++++ views/organization.twig | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/assets/development/styles/organization.css b/assets/development/styles/organization.css index 9750d44..14cddab 100644 --- a/assets/development/styles/organization.css +++ b/assets/development/styles/organization.css @@ -511,6 +511,19 @@ section { display: flex; justify-content: flex-end; align-items: center; + + /* Revert button browser style */ + font: inherit; + border: 0; + background: 0; + padding: initial; + cursor: pointer; +} + +.schedule-category-collapse-icon-container:focus { + border: 0; + outline: 1px dashed black; + cursor: pointer; } .schedule-category-header .subtitle, .schedule-category-header .separator { diff --git a/views/organization.twig b/views/organization.twig index ea2241f..aba69e4 100644 --- a/views/organization.twig +++ b/views/organization.twig @@ -162,12 +162,12 @@ - {{ item.description|e }} {% endif %} -
+
+