You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
** Why are these changes being introduced:
* The GDT project has called for an update to how pagination is shown,
across all instances of this app. The details are linked from the
ticket below.
** Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/gdt-172
** How does this address that need:
* The visual display of the pagination links is changed, including which
data points are included. Importantly, we are moving from a display
that uses page numbers to one that uses result counts - so there are
changes to the analyzer model to reflect this UI.
* We also improve the accessibility of the pagination element by using
a nav element, and adding aria labels to make the screen reader
output more coherent.
* Tests for both the helper and analyzer are also updated to expect the
new markup.
** Document any side effects to this change:
* The analyzer test gets some additional assertions because of the
calculations for the first and last record in the overall range.
* The div containing the summary of the current page is still wonky
on a screen reader, lacking context in its output: "21 40 of 95"
for example. I'd like to ask about this during QA, however, but
would encourage the reviewer to listen using VoiceOver to experience
it for yourself.
0 commit comments