The search field for module names is a great addition to the Module Install /Uninstall.
This is a primary navigation tool at the page, and point where newcomers are lost.
But current implementation is not usable because:
1) it's really hard to point (make active) and basically find the input
2) the description under field and placeholder are too faded
3) additionally would be great to make filter "sticky"
Current state


| Comment | File | Size | Author |
|---|
Comments
Comment #2
cilefen commentedComment #3
wim leersI would *love* this. It used to work this way. But apparently it is bad for accessibility. At the cost of great usability for sighted users, sadly.
It's an unfortunate compromise. Maybe something has changed in the meantime though.
Comment #4
vprocessor commentedHi guys!
Please, can you explain details for this task, not sure that I understand what did you mean
Maybe you mean default focus at search field on modules page?
Thanks
Comment #5
Greg Sims commented@vprocessor I'm not sure of the correct terminology. The goal is this: When a user loads the Module Install page, he should be able to type the name of the module that they want to install without clicking the cursor into the search box first. This is also true for the Module Uninstall page. I think this is likely,
.
When I am debugging a module, I need to Install/Uninstall the module a couple of times before I understand the issue and fix it. This change will speed up this process. All of our custom modules begin with the characters 'rsm_' so they are very easy to find with the search box.
Comment #6
cilefen commented@Greg Sims The issue summary is short but it is pretty clear to me. You could maybe clear it up for others by incorporating your prior comment.
Comment #7
vprocessor commenteddone
Comment #8
vprocessor commentedComment #9
andyposttested manually, it works!
really useful!
Comment #10
wim leersSee #3.
Comment #11
nod_I don't think all our users with visual difficulties are all cured yet. Won't fix.
Comment #12
nod_@Greg Sims: think of it as a show of support for them. And to start with: there is module filter in core and Ctrl+F is actually useful now. Surely a click is not that bad. Contrib can always reduce a11y with a form_alter of some kind :)
Comment #13
andypostYep, let's get more reviews!
My POV that this page is 99% of time will be visited by developers/builders to enable module.
So having "autofocus" of that will save a lot of hours removing this "single click"
I call to reconsider that so linking previous attempts
Comment #14
vprocessor commentedAgree with @Andypost, I think it is useful to have autofocus without any additional keyboard manipulations
Comment #15
andypostThis is a modules page, so the primary action is to find module and enable, so the argument in #2096347-19: Add "autofocus" attribute to the module search is totally wrong
Maybe autofocus does not fits for a11n but for this page the primary interaction is search
So maybe patch should detect screenreaders (maybe modernizr) and set focus for all others that are 99%
Comment #16
cweagansAccessibility is a gate and it's not really up for debate. If you have a solution that makes this usable for screen reader users (and you have verified that by testing it yourself or asking a screen reader user for assistance), feel free to reopen. Otherwise, this has already been debated, redebated, and argued in pretty much every way in many other issues. This is still a won't fix.
Write a contrib module if it bothers you that much, or just use Drush.
@andypost, saying that an argument from somebody that this actually affects is insensitive. I encourage you to try the module page with autofocus enabled via screen reader software. Using the modern web is really damn hard if you can't see what's happening. Drupal shouldn't contribute to that.
Adjusting issue metadata for accuracy.
Comment #17
andypostOk, let's postpone then and re-scope to theme change and improve usability of primary interaction
Comment #18
cweagansNo matter what solution we come up with here, anything that automatically focuses a field on the page needs accessibility review.
This is also going to need an issue summary update on why the current field is not "usable".
Comment #19
andypostthere's nothing to review yet, summary already updated in #17
Comment #20
droplet commentedMake it Configurable.
Accessibility killing Drupal silently. This issue is not alone:
#2346973: Improve usability, accessibility, and scalability of long select lists
Comment #21
Greg Sims commentedGood idea @droplet! How about a radio button in User Profile for "Using Screen Reader -- Yes/No". The default would be Yes for reasons mentioned above.
With this much energy surrounding this issue -- there must be a solution that will work for the entire community.
Comment #22
Greg Sims commentedHopefully we can return to "Needs Work".
Comment #23
andypostthere's no patch, so status wrong. also 8.1 still not open
Comment #24
Greg Sims commentedViews has a similar search filter. Perhaps all of these search boxes should incorporate "autofocus'.
Comment #25
mgiffordSo hopefully in early January https://www.drupal.org/node/2455081
Comment #28
mgiffordComment #39
larowlanThis came up on a Bug Smash triage
Can we get some steps to reproduce added here so its clear what we're fixing?
Based on the current patch, this feels like a feature request rather than a bug.
Comment #43
mgiffordThere are concerns with auto-focus
https://brucelawson.co.uk/2009/the-accessibility-of-html-5-autofocus/
https://ux.stackexchange.com/questions/60026/when-is-it-appropriate-to-a...
If this is more than auto-focus then this should be more explicit. Otherwise for consistency we should probably close this issue as per https://www.drupal.org/node/2096347
That is until convenience wins over predictability.
Comment #44
smustgrave commentedJust following up if this should be re-open,. if no follow up in 3 months could be closed
Comment #45
nicxvan commentedComment #46
nicxvan commentedI'm going to close this as works as designed for the following reasons.
Honestly reading through the most recent stack exchange in 43 I think this form actually qualifies and is eligible for auto focus.
99% of the time I visit that page the first thing I do is click in the search field.
The other 1% I ctrl f to search.
However, as pointed out this is a very simple contrib or custom module with a form alter and library so it should be handled in contrib instead of being hashed out here with the ability to disable it.
Then it can be included in cms.
If someone ends up creating that please post it here so people can find it.
I don't think will get this in core though so let's close this for now.
Thanks everyone!
I did add credit here for the effort over the years. It is appreciated so please comment when the contrib module is created.