Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved Issue No. 9 - Accessibility improvements to "create a tag" page. Score increased from 85 to 98. #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions mayan/apps/appearance/static/appearance/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
font-family: 'IM Fell English SC';
font-style: normal;
font-weight: normal;

src:
local('IM FELL English SC'),
local('IM_FELL_English_SC'),
Expand Down Expand Up @@ -394,7 +395,7 @@ a i {
}

.btn-danger.btn-outline {
color: #d9534f;
color: hsl(2, 64%, 58%);
}

.btn-default.btn-outline:hover,
Expand Down Expand Up @@ -462,7 +463,7 @@ a i {
#main-menu-button-open {
background-color: transparent;
border: 0;
border-right: 1px solid #95a5a6;
border-right: 1px solid #586768;
display: block;
padding: 6px 20px 0px 10px;
margin: 0 10px 0 -15px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
{% else %}
{% render_field field class+="form-control" %}
{% endif %}
{% if field.help_text and not form_hide_help_text %}<p class="help-block">{{ field.help_text|safe }}</p>{% endif %}
{% if field.help_text and not form_hide_help_text %}<p class="form-group">{{ field.help_text|safe }}</p>{% endif %}
</div>
{% endfor %}
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h4>
{% if submit_label %}{{ submit_label }}{% else %}{% if form.instance %}{% trans 'Save' %}{% else %}{% trans 'Submit' %}{% endif %}{% endif %}
</button>
{% if previous %}
&nbsp;<a class="btn btn-default" onclick='history.back();'>
&nbsp;<a class="btn btn-primary" onclick='history.back();'>
<i class="fa fa-times"></i> {% if cancel_label %}{{ cancel_label }}{% else %}{% trans 'Cancel' %}{% endif %}
</a>
{% endif %}
Expand Down
9 changes: 5 additions & 4 deletions mayan/apps/appearance/templates/appearance/menu_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="panel-group" id="accordion-sidebar" role="tablist" aria-multiselectable="true">
<div class="panel-heading" role="tab" id="menu-main-button-close">
<h4 class="panel-title">
<a class="disabled" href="">
<a class="" href="">
<i class="fa fa-angle-double-left"></i>
</a>
</h4>
Expand All @@ -21,9 +21,10 @@ <h4 class="panel-title">
{% with ' ' as link_classes %}
{% if link|common_get_type == "<class 'mayan.apps.navigation.classes.Menu'>" %}
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<div class="panel-heading" role="tab" id="headingLol
">
<h4 class="panel-title">
<a class="non-ajax collapsed" role="button" data-toggle="collapse" data-parent="#accordion-sidebar" href="#accordion-body-{{ forloop.counter }}" aria-expanded="false" aria-controls="collapseOne">
<a class="non-ajax true" role="button" data-toggle="collapse" data-parent="#accordion-sidebar" href="#accordion-body-{{ forloop.counter }}" aria-expanded="false" aria-controls="collapseOne">
<div class="pull-left">
{% if link.icon %}
<i class="hidden-xs hidden-sm hidden-md {{ link.icon }}"></i>
Expand Down Expand Up @@ -59,7 +60,7 @@ <h4 class="panel-title">
</div>
{% else %}
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
{% include 'navigation/generic_link_instance.html' %}
</h4>
Expand Down