className
)}
>
- {total !== undefined
- ? translateWithParameters(
- 'x_of_y_shown',
- formatMeasure(count, 'INT', null),
- formatMeasure(total, 'INT', null)
- )
- : translateWithParameters('x_show', formatMeasure(count, 'INT', null))}
+ <span aria-live="polite" aria-busy={loading}>
+ {total !== undefined
+ ? translateWithParameters(
+ 'x_of_y_shown',
+ formatMeasure(count, 'INT', null),
+ formatMeasure(total, 'INT', null)
+ )
+ : translateWithParameters('x_show', formatMeasure(count, 'INT', null))}
+ </span>
{button}
{loading && <DeferredSpinner className="text-bottom spacer-left position-absolute" />}
</div>
className="list-footer spacer-top note text-center"
tabIndex={-1}
>
- x_of_y_shown.3.5
+ <span
+ aria-live="polite"
+ >
+ x_of_y_shown.3.5
+ </span>
<Button
className="spacer-left"
data-test="show-more"
className="list-footer spacer-top note text-center"
tabIndex={-1}
>
- x_of_y_shown.5.5
+ <span
+ aria-live="polite"
+ >
+ x_of_y_shown.5.5
+ </span>
</div>
`;
className="list-footer spacer-top note text-center"
tabIndex={-1}
>
- x_of_y_shown.3.5
+ <span
+ aria-live="polite"
+ >
+ x_of_y_shown.3.5
+ </span>
</div>
`;
className="list-footer spacer-top note text-center"
tabIndex={-1}
>
- x_show.60
+ <span
+ aria-live="polite"
+ >
+ x_show.60
+ </span>
<Button
className="spacer-left"
data-test="show-more"
className="list-footer spacer-top note text-center"
tabIndex={-1}
>
- x_of_y_shown.3.5
+ <span
+ aria-busy={true}
+ aria-live="polite"
+ >
+ x_of_y_shown.3.5
+ </span>
<Button
className="spacer-left"
data-test="show-more"
className="list-footer spacer-top note text-center"
tabIndex={-1}
>
- x_of_y_shown.3.5
+ <span
+ aria-live="polite"
+ >
+ x_of_y_shown.3.5
+ </span>
<Button
className="spacer-left"
data-test="reload"
className="list-footer spacer-top note text-center"
tabIndex={-1}
>
- x_of_y_shown.3.5
+ <span
+ aria-busy={true}
+ aria-live="polite"
+ >
+ x_of_y_shown.3.5
+ </span>
<Button
className="spacer-left"
data-test="reload"
className="list-footer spacer-top note text-center"
tabIndex={-1}
>
- x_show.3
+ <span
+ aria-live="polite"
+ >
+ x_show.3
+ </span>
</div>
`;