[4.0] [a11y] com_finder :: add missing legend to fieldset#30528
[4.0] [a11y] com_finder :: add missing legend to fieldset#30528laoneo merged 1 commit intojoomla:4.0-devfrom hans2103:feature/4.0-dev-a11y--com_finder-missing-legend
Conversation
how does it lead me to the results? |
|
@brianteeman sorry for my bad English. On my Joomla 4 test site (https://joomla4.test) I've installed Blog Sample Data. With this I mean "lead you to the search results on com_finder". |
|
Never apologise for bad english - its far better than my dutch. "This will load the search results" is probably ok Now for the reason I asked the question. I had hoped by your description that you had fixed the accessibility problem when the search is performed and the results are displayed. Obviously as I misunderstood what you were writing you did not and I guess it will need to be in another PR but for the sake of completeness I will write it here. When you enter a search term and press the search button the page reloads and anyone using a screen reader will have to navigate all the way down the page and past the search form in order to find out if there are any results. They should be taken to the results immediately OR there should be an announcement that there are x results on page load. Its even worse when the advanced link (it should be a button) is selected |
|
@brianteeman thank you I think this PR will solve one of the a11y issue. Missing |
|
I have tested this item ✅ successfully on dac3f90 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30528. |
1 similar comment
|
I have tested this item ✅ successfully on dac3f90 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30528. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30528. |
|
Thanks! |
…om_templates * '4.0-dev' of github.com:joomla/joomla-cms: (70 commits) [4.0] Child templates consistency (joomla#30387) [4.0] favicon changes to support child templates (joomla#30388) [4.0] Update Readme for Api tests (joomla#30539) [4.0] [Multilingual Status module] Adding displaying a possible error if URL Language Code is empty (joomla#30537) [4.0] Display of horizontal mod_articles_news module (joomla#30527) [4.0] Useless installation lang strings (joomla#30568) [4.0] Numbers not digits (joomla#30559) [4.0] Accessibility plugin position (joomla#30552) [4.0] fix for inherit fields (joomla#30557) [4.0] Redundant words (joomla#30555) add missing legend to fieldset (joomla#30528) [4.0] [a11y] add statement on found results (joomla#30535) [4.0] com_finder ul instead of dl for easier styling (joomla#30534) [4.0] Messages/Alerts: using icons instead of text as heading (joomla#30516) [4.0] Increase API Test Coverage (joomla#26722) [4.0] Implementing display of password requirements for frontend (joomla#30473) [4.0] FieldsHelper: Choose a first available category correctly (joomla#30268) Sort options (joomla#30531) Clear checkboxes on back button (joomla#30498) Update _icomoon.scss (joomla#30436) ...
Pull Request for Issue # .
Summary of Changes
After a11y testing the search form of component com_finder using WAVE it alerted me with the following message:
Fieldset missing legend
This PR changes a couple of things:
<legend>to the<fieldset>of the search field section<div>into<fieldset>of the advanced search section<legend>to the<fieldset>of the advanced search sectionsr-onlyto both fieldsets to keep is visually hidden.Testing Instructions
<legend>in the<fieldset>Actual result BEFORE applying this Pull Request
Screenshot taken from my dev tools

Expected result AFTER applying this Pull Request
Screenshot taken from my dev tools

Documentation Changes Required