Add aria label to order list buttons
This commit is contained in:
parent
3627204f06
commit
df31541171
@ -412,7 +412,7 @@ function fictioneer_sort_order_filter_interface( $args ) {
|
||||
echo '</div>';
|
||||
?></div>
|
||||
|
||||
<a class="list-button _order <?php echo $args['order'] === 'desc' ? '_on' : '_off'; ?>" href="<?php echo $order_link; ?>">
|
||||
<a class="list-button _order <?php echo $args['order'] === 'desc' ? '_on' : '_off'; ?>" href="<?php echo $order_link; ?>" aria-label="<?php esc_attr_e( 'Toggle between ascending and descending order', 'fictioneer' ); ?>">
|
||||
<i class="fa-solid fa-arrow-up-short-wide _off"></i><i class="fa-solid fa-arrow-down-wide-short _on"></i>
|
||||
</a>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user