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 fdba1b1 commit c4ddfb8Copy full SHA for c4ddfb8
build/media_source/system/js/searchtools.es6.js
@@ -322,9 +322,10 @@ Joomla = window.Joomla || {};
322
323
// Add all active filters to the table caption for screen-readers
324
const filteredByCaption = document.getElementById('filteredBy');
325
+ const isHidden = Object.prototype.hasOwnProperty.call(element.attributes, 'type') && element.attributes.type.value === 'hidden';
326
327
// The caption won't exist if no items match the filters so check for the element first
- if (filteredByCaption) {
328
+ if (filteredByCaption && !isHidden) {
329
let captionContent = '';
330
331
if (element.tagName.toLowerCase() === 'select') {
0 commit comments