Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Bootstrap 4 submit button #782

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Remove Bootstrap 4 submit button #782

merged 1 commit into from
Jun 21, 2024

Conversation

taylor-steve
Copy link
Contributor

@taylor-steve taylor-steve commented Jun 21, 2024

The BS4 submit button from blacklight_range_limit is only visually hidden, it can still be tabbed to/is accessible to screen readers.

Screenshot 2024-06-20 at 11 34 48 AM

@taylor-steve taylor-steve marked this pull request as ready for review June 21, 2024 15:27
@taylor-steve taylor-steve force-pushed the range-limit-form-submit branch from 2639337 to 3c5092b Compare June 21, 2024 15:33
@@ -0,0 +1,9 @@
<%= form_tag search_action_path, method: :get, class: [@classes[:form], "range_#{@facet_field.key} d-flex justify-content-center"].join(' ') do %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind adding a comment above explaining why you've overridden this template?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't mind, added.

@taylor-steve taylor-steve force-pushed the range-limit-form-submit branch from 3c5092b to 62b4004 Compare June 21, 2024 15:55
@jcoyne jcoyne merged commit 7cb00ae into main Jun 21, 2024
2 checks passed
@jcoyne jcoyne deleted the range-limit-form-submit branch June 21, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants