UHF-7410: Language related accessibility fixes for job listings and job search #217
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
UHF-7410
This PR adds correct wrapping elements to lang parameters on job listing pages (spans for inline elements) and separates the language wrapper from the the translated "x jobs" text in job search results.
How to install
git checkout UHF-7410-accessibility-language-fixes
make fresh
make shell
and then:sed -i 's/utf8mb4_0900_ai_ci/utf8mb4_swedish_ci/g' dump.sql; drush sql-query --file=/app/dump.sql && drush helfi:oc:sanitize-database && drush cim -y;drush updb -y;drush cr;drush uli
make ps
to get the correct proxy port fordrupal-helfi-rekry-elastic
. Should be 9200 but might change if you have multiple ES proxies running..env
file and change the port inELASTIC_PROXY_URL
make up
again for the change to take effectmake drush-cr
make shell
and thendrush sapi-rt;drush sapi-i
to make sure content is indexed properlyHow to test
<span lang>
element while the "x job" text should be wrapped with just a blank<span>
element.<span>
after the heading.Designers review