Skip to content

Commit

Permalink
Improve platform a11y
Browse files Browse the repository at this point in the history
- improve contrast and some components
  • Loading branch information
tudoramariei committed Oct 17, 2024
1 parent 4a725b4 commit 0d1ee3b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions backend/hub/templates/hub/blog/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% block left-side-view %}

<div class="container">

<div class="container section has-text-centered">
<h1 class="title">
Articole VotONG
Expand Down Expand Up @@ -45,7 +45,7 @@ <h1 class="title">
</div>

<div class="need-call2action">
<a class="button is-flex has-background-success has-text-weight-bold has-text-white" href="{% url 'blog-post' blog_post.slug %}">
<a class="button is-flex has-background-success-dark has-text-weight-bold has-text-white" href="{% url 'blog-post' blog_post.slug %}">
{% trans "Read more" %}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion backend/hub/templates/hub/candidate/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h2 class="section-title uppercase">
</div>

<div class="need-call2action">
<a class="button is-flex has-background-success has-text-weight-bold has-text-white"
<a class="button is-flex has-background-success-dark has-text-weight-bold has-text-white"
href="{% url 'candidate-detail' candidate.pk %}">
{% trans "View details" %}
</a>
Expand Down
2 changes: 1 addition & 1 deletion backend/hub/templates/hub/candidate/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</div>

<div class="need-call2action">
<a class="button is-flex has-background-success has-text-weight-bold has-text-white"
<a class="button is-flex has-background-success-dark has-text-weight-bold has-text-white"
href="{% url 'candidate-detail' candidate.pk %}">
{% trans "View details" %}
</a>
Expand Down
2 changes: 1 addition & 1 deletion backend/hub/templates/hub/committee/candidates.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 class="title border-b uppercase">
{% endif %}

<div class="need-call2action">
<a class="button is-flex has-background-success has-text-weight-bold has-text-white"
<a class="button is-flex has-background-success-dark has-text-weight-bold has-text-white"
href="{% url 'candidate-detail' candidate.pk %}">
{% trans "View details" %}
</a>
Expand Down
12 changes: 6 additions & 6 deletions backend/hub/templates/hub/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h1 class="section-title">Cum funcționează</h1>
<div class="box-icon">
<img src="{% static "images/1-inscriere.svg" %}" alt="Sign up icon"/>
</div>
<p class="tile-title">Pasul 1: Eligibilitate</p>
<h2 class="tile-title">Pasul 1: Eligibilitate</h2>
<p>
Se pot înscrie în platformă toate asociațiile, fundațiile sau federațiile înregistrate legal în România,
orice fundație pentru tineret sau Fundația Națională pentru Tineret, precum și Societatea Națională de
Expand All @@ -127,7 +127,7 @@ <h1 class="section-title">Cum funcționează</h1>
<div class="box-icon">
<img src="{% static "images/2-validare.svg" %}" alt="Validation icon"/>
</div>
<p class="tile-title">Pasul 2: Înscriere</p>
<h2 class="tile-title">Pasul 2: Înscriere</h2>
<p>
Organizațiile se pot înscrie în VotONG prin platforma
<a href="{{ NGOHUB_HOME_FULL }}">NGO Hub</a>.
Expand All @@ -144,7 +144,7 @@ <h1 class="section-title">Cum funcționează</h1>
<div class="box-icon">
<img src="{% static "images/3-votare.svg" %}" alt="Vote icon"/>
</div>
<p class="tile-title">Pasul 3: Validare</p>
<h2 class="tile-title">Pasul 3: Validare</h2>
<p>
După înscrierea în NGO Hub, fiecare ONG este validat.
Administratorul platformei VotONG va verifica informațiile prezentate în formularul completat
Expand All @@ -156,7 +156,7 @@ <h1 class="section-title">Cum funcționează</h1>
<div class="box-icon">
<img src="{% static "images/4-vot.svg" %}" alt="Results icon"/>
</div>
<p class="tile-title">Pasul 4: Vot</p>
<h2 class="tile-title">Pasul 4: Vot</h2>
<p>
Dacă există alegeri în curs, fiecare ONG care se califică, potrivit regulamentului fiecărei runde, poate
să propună candidaturi pentru a intra în cursa electorală. Organizațiile pot de asemenea și să își exprime
Expand All @@ -171,7 +171,7 @@ <h1 class="section-title">Cum funcționează</h1>
<div class="box-icon">
<img src="{% static "images/5-rezultate.png" %}" alt="Sign up icon"/>
</div>
<p class="tile-title">Pasul 5: Rezultate</p>
<h2 class="tile-title">Pasul 5: Rezultate</h2>
<p>
Rezultatele fiecărei runde de alegeri vor fi publicate pe platformă și anunțate prin e-mail către toate
organizațiile care au participat la runda de vot.
Expand All @@ -182,7 +182,7 @@ <h1 class="section-title">Cum funcționează</h1>
{% endif %}
</div>
<div class="tile is-child box rules-box">
<p class="tile-title">Regulament platformă</p>
<h2 class="tile-title">Regulament platformă</h2>
<p>
Citește aici detalii despre regulamentul de funcționare al platformei VotONG.
</p>
Expand Down
8 changes: 4 additions & 4 deletions backend/hub/templates/hub/ngo/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<div class="field border-b">
<p class="control has-icons-right ">
<input
class="input search-input"
type="text"
name="q"
class="input search-input"
type="text"
name="q"
value="{{ current_search }}"
aria-label="{% trans 'Search...' %}"
placeholder="{% trans 'Search...' %}">
Expand Down Expand Up @@ -157,7 +157,7 @@ <h2 class="section-title uppercase">
</div>

<div class="need-call2action">
<a class="button is-flex has-background-success has-text-weight-bold has-text-white"
<a class="button is-flex has-background-success-dark has-text-weight-bold has-text-white"
href="{% url 'ngo-detail' ngo.pk %}">
Vizualizează
</a>
Expand Down
2 changes: 1 addition & 1 deletion backend/hub/templates/hub/ngo/votes.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2 class="title border-b uppercase">
</div>

<div class="need-call2action">
<a class="button is-flex has-background-success has-text-weight-bold has-text-white"
<a class="button is-flex has-background-success-dark has-text-weight-bold has-text-white"
href="{% url 'candidate-detail' candidate.pk %}">
{% trans "View details" %}
</a>
Expand Down

0 comments on commit 0d1ee3b

Please sign in to comment.