[CSS] Improved performance, reduced padding [COMPONENTS][LeftPanel] Consolidated CSS into base.css [COMPONENTS][RightPanel] Consolidated CSS into base.css [PLUGINS][WebMonetization] Replaced fieldset with section
Accessibility tests failed if the fieldset had no legend, since it wasn't really neeeded, it was replaced as another element.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
{% block body %}
|
||||
<section class="section-widget section-padding">
|
||||
<h2 class="section-title">{{ title }}</h2>
|
||||
<h1 class="section-title">{{ title }}</h1>
|
||||
|
||||
<div>
|
||||
<p>{% trans %}Sort by:{% endtrans %}</p>
|
||||
@@ -26,7 +26,7 @@
|
||||
{% endfor %}
|
||||
<p>{% trans %}Page: %page%{% endtrans %}</p>
|
||||
{% else %}
|
||||
<h3>{{ empty_message }}</h3>
|
||||
<h2>{{ empty_message }}</h2>
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
|
@@ -4,23 +4,23 @@
|
||||
<h2>{{ctitle}}</h2>
|
||||
</summary>
|
||||
{% if has_collections %}
|
||||
<fieldset class="section-form">
|
||||
<section class="section-form">
|
||||
{{ form(add_form) }}
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
<details class="section-widget-subtitle-details section-padding"
|
||||
title="Expand if you want to access more options.">
|
||||
<summary class="section-subtitle-summary">
|
||||
<strong>{% trans %}Other options{% endtrans %}</strong>
|
||||
</summary>
|
||||
<fieldset class="section-form">
|
||||
<section class="section-form">
|
||||
{{ form(create_form) }}
|
||||
</fieldset>
|
||||
</section>
|
||||
</details>
|
||||
{% else %}
|
||||
<fieldset class="section-form">
|
||||
<section class="section-form">
|
||||
{{ form(create_form) }}
|
||||
</fieldset>
|
||||
</section>
|
||||
{% endif %}
|
||||
</details>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user