This line effectively prevents a Submit button from being rendered in HTML:

['submit']['#access'] = FALSE

This is an accessibility problem as well as making the form inoperable for those without Javascript. Instead, we should use jQuery to hide the submit element when page is loaded.


Everett Zufelt’s picture

@Les Lim

Can you please give a bit more background about the problem, including a bit more of an explanation of the accessibility problem?

Les Lim’s picture

Sure. My concern is that low-vision users are expecting to encounter a way to submit the exposed form and won't find one. Setting an auto-submitting filter doesn't give non-visual feedback to users that their search results have already been filtered, and then doesn't provide an interface item to execute the filters, even though they will have already been applied. I suppose I'm not actually sure if that's really an accessibility problem or not.

Meanwhile, if you happen to be browsing without Javascript, the filters won't be automatically executed and there will be no way to submit manually. That's a problem for all users.

Everett Zufelt’s picture

Agreed on both points.

sebas5384’s picture

If you remove the submit button this happen.

infojunkie’s picture

Status:Active» Fixed

Fixed in the latest dev (CVS commit). I simply moved the submit-hiding code to JavaScript. Please try it (12 hours from now) and let me know.

scotjam’s picture

In a future release, could this option be made into an admin setting?

best wishes

infojunkie’s picture

Category:bug» feature
Status:Fixed» Active

Re #6: Sure.