User tests: Successful: Unsuccessful:
Pull Request for Issue # .
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-only
to both fieldsets to keep is visually hidden.<legend>
in the <fieldset>
Screenshot taken from my dev tools
Screenshot taken from my dev tools
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_finder Language & Strings |
@brianteeman sorry for my bad English.
On my Joomla 4 test site (https://joomla4.test) I've installed Blog Sample Data.
This will place a search form in the header.
When you use this form and press the search button, the url of the page changes to http://joomla4.test/index.php/component/finder/search?q=blog&Itemid=101&Itemid=101
With this I mean "lead you to the search results on com_finder".
How should I have written it? It will help me to write better test instructions in the future.
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
Will create multiple steps to improve the accessibility of com_finder.
This baby step is one of them.
I think this PR will solve one of the a11y issue. Missing legend
in the fieldset
.
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-09-02 11:08:23 |
Closed_By | ⇒ | laoneo | |
Labels |
Added:
?
?
|
Thanks!
how does it lead me to the results?