We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a306ae commit 2ce6bf7Copy full SHA for 2ce6bf7
a11y-add-on-for-facetwp.php
@@ -187,16 +187,6 @@ function remove_underscores( name ) {
187
});
188
189
$(document).on('facetwp-loaded', function() {
190
- $('.facetwp-checkbox, .facetwp-radio').each(function() {
191
- $(this).attr('role', 'checkbox');
192
- $(this).attr('aria-checked', $(this).hasClass('checked') ? 'true' : 'false');
193
- $(this).attr('tabindex', 0);
194
- });
195
-
196
- $('.facetwp-type-checkboxes').each(function() {
197
- $(this).attr('aria-label', remove_underscores($(this).data('name')));
198
- $(this).attr('role', 'group' );
199
200
201
// pager
202
$('.facetwp-pager').attr('role', 'navigation');
0 commit comments