Language Change ? Pending

User tests: Successful: Unsuccessful:

avatar korenevskiy
korenevskiy
5 Oct 2021

I added setting in module mod_finder. In default this setting disabled.
Seted autofocus where page loaded, this focus set as default for this field.

avatar korenevskiy korenevskiy - open - 5 Oct 2021
avatar korenevskiy korenevskiy - change - 5 Oct 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Oct 2021
Category Language & Strings Modules Front End
avatar korenevskiy korenevskiy - change - 5 Oct 2021
The description was changed
avatar korenevskiy korenevskiy - edited - 5 Oct 2021
avatar korenevskiy korenevskiy - change - 5 Oct 2021
Labels Added: Language Change ?
avatar korenevskiy
korenevskiy - comment - 5 Oct 2021

This is a really bad idea.

At the moment, I am working on a site with accessibility support.
In the document by the link you gave me.
It is written that one must be careful not to disrupt accessibility.
This idea does NOT violate accessibility. Only poor use of this feature will disrupt accessibility.
I'm making a website header. I have placed the search field at the very beginning of the page, so that the sequence of TAB switches is not disrupted.

The Joomla search engine has become very powerful, it's not just a search for matching words in the headlines.

But even so, autofocus in the module is turned off by default.

Do you think it would be convenient for you personally to go to the store and immediately have the search field in focus, similar to how you go to the Google site, bing.com , yahoo.com , duckduckgo.com .

Sites today are becoming so complex that page search is more important than the menu and categories of the site.
.
We can hide this setting in the advanced settings tab.

Let's come to a better solution.
Metaphor: in order to avoid knife attacks on the streets of the city, we can take knives from everyone, including the best chefs.
But still let's think about it

avatar korenevskiy
korenevskiy - comment - 5 Oct 2021

@brianteeman
I've been doing accessibility for a long time.
As we can see, I added the focus setting not for the feedback form, and not for the comments form. I added a focus for site search.
Therefore, the idea of accessibility is very good, and I stick to it.
I stick to it by adding this setting to the search form. Since this autofocus does not apply to feedback and comment forms.

avatar korenevskiy
korenevskiy - comment - 5 Oct 2021

@brianteeman
I moved the setting to the advanced module settings.

avatar brianteeman
brianteeman - comment - 5 Oct 2021

I stand by my comments.

avatar rdeutz
rdeutz - comment - 5 Oct 2021

There might be situations where this is not a bad idea. But this will give a bad example on how to use autofocus and used in core could lead others to do the same. It is also needed that you have only one element with autofocus on a page. This is better done with an overwrite or a site specific setting.

I am closing this for the reasons stated.

avatar rdeutz rdeutz - change - 5 Oct 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-10-05 12:28:25
Closed_By rdeutz
avatar rdeutz rdeutz - close - 5 Oct 2021
avatar korenevskiy
korenevskiy - comment - 5 Oct 2021

But this will give a bad example on how to use autofocus and used in core could lead others to do the same.

It is very similar to the fact that if parents do not tell the child how children are born. That means he will grow up and not find out about it.

Add a Comment

Login with GitHub to post a comment