Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298712

Incorrect module count passed to Drupal.announce() on uninstall page

$
0
0

Problem/Motivation

The uninstall page (admin/modules/uninstall) has a text filter to make it easy to find a module you are interested in.

When filtering the list, Drupal.announce() is used to inform screen reader users how many rows are now shown on the page. However, this announcement is always "0 modules are available in the modified list" no matter whether there are matches or not.

The same Drupal.behaviors.tableFilterByText is used for both the install and uninstall pages, but the page structure is different. It looks like the filter logic only works properly on the install page.

Proposed resolution

Fix the Drupal.announce() message so the module count is correct.

Investigate the jQuery CSS selectors used by system.modules.es6.js to see why the counts passed to Drupal.announce() are wrong.

Remaining tasks

User interface changes

Fixes a bug in a custom screen reader announcement.

API changes

None.

Data model changes

None.


Viewing all articles
Browse latest Browse all 298712

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>