diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2016-09-14 12:50:31 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-20 15:43:19 +0100 |
commit | 72f7ad1a105a978217307e0a452e32e0bc01a8c0 (patch) | |
tree | 53fa2a5db03ce8e3687279e7e3061df5773fa45d | |
parent | e2bc553fac3b91957a99b3bf9534f2c137e57b48 (diff) |
Remove "Tips for perfect…" headings on reporting form
The ticks and crosses already imply that these are things you should
and shouldn’t do. Removing the headings reduces visual clutter, and
better associates the tips with the form input directly above.
5 files changed, 5 insertions, 13 deletions
diff --git a/templates/web/base/report/new/after_photo.html b/templates/web/base/report/new/after_photo.html index 3fed031a8..cdebab462 100644 --- a/templates/web/base/report/new/after_photo.html +++ b/templates/web/base/report/new/after_photo.html @@ -1,5 +1,4 @@ -<div class="description_tips"> - <h4>[% loc('Tips for perfect photos') %]</h4> +<div class="description_tips" aria-label="[% loc('Tips for perfect photos') %]"> <ul class="do"> <li>[% loc('Show what the problem is') %]</li> <li>[% loc('Show where it’s located') %]</li> diff --git a/templates/web/fixmystreet-uk-councils/report/new/inline-tips.html b/templates/web/fixmystreet-uk-councils/report/new/inline-tips.html index cac01aa3f..2132de3a7 100644 --- a/templates/web/fixmystreet-uk-councils/report/new/inline-tips.html +++ b/templates/web/fixmystreet-uk-councils/report/new/inline-tips.html @@ -1,5 +1,4 @@ -<div class="description_tips"> - <h4>Tips for successful reports</h4> +<div class="description_tips" aria-label="Tips for successful reports"> <ul class="do"> <li>Be polite</li> <li>Use exact locations</li> diff --git a/templates/web/fixmystreet.com/report/new/inline-tips.html b/templates/web/fixmystreet.com/report/new/inline-tips.html index de643b61c..b20615a28 100644 --- a/templates/web/fixmystreet.com/report/new/inline-tips.html +++ b/templates/web/fixmystreet.com/report/new/inline-tips.html @@ -1,7 +1,6 @@ -<div class="description_tips"> - <h4 class="description_tips__heading--inline">Tips for successful reports</h4> - <small>(please read our <a href="/about/house-rules" target="_blank">House Rules</a>)</small> +<div class="description_tips" aria-label="Tips for successful reports"> <ul class="do"> + <li>Follow our <a href="/about/house-rules" target="_blank">House Rules</a></li> <li>Be polite</li> <li>Use exact locations</li> <li>Say how long the issue’s been present</li> diff --git a/templates/web/oxfordshire/report/new/inline-tips.html b/templates/web/oxfordshire/report/new/inline-tips.html index 1194595a1..9ab3ffd23 100644 --- a/templates/web/oxfordshire/report/new/inline-tips.html +++ b/templates/web/oxfordshire/report/new/inline-tips.html @@ -1,5 +1,4 @@ -<div class="description_tips"> - <h4>Tips for successful reports</h4> +<div class="description_tips" aria-label="Tips for successful reports"> <ul class="do"> <li>Be polite</li> <li>Use exact locations (e.g. carriageway)</li> diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index d1fdec343..7bc4e0210 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -1391,10 +1391,6 @@ label .muted { .description_tips { @include clearfix; - h4 { - margin: 0.5em 0; - } - ul { width: 49%; margin: 0; |