A new <search> element has been added to the HTML specification.
see 4.4.15 The search element
The Finder module template uses the role=search attribute in the form tag.
<form
class="mod-finder js-finder-searchform form-search"
action="<?php echo Route::_($route); ?>"
method="get"
role="search">
The incorrect use of the role=search attribute on the form element was pointed out by Adrian Roselli (see Where to Put Your Search Role
I suggest that the Finder module template should be improved:
| Labels |
Added:
No Code Attached Yet
a11y
|
||
use the search tag
There is not a single browser that supports this at this time
| Labels |
Added:
Feature
|
||
This is now supported by all browsers
Can someone make a PR for Joomla6?
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-07-17 08:20:32 |
| Closed_By | ⇒ | chmst |
If you read the specification and posts from others such as scott ohara you will see that they disagree with adrian