a11y: add `role="button"` to delete note links

This commit is contained in:
Rami Yushuvaev 2016-11-05 19:12:04 +02:00
parent e71cae8d8f
commit 402216a553
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class WC_Meta_Box_Order_Notes {
printf( ' ' . __( 'by %s', 'woocommerce' ), $note->comment_author );
endif;
?>
<a href="#" class="delete_note"><?php _e( 'Delete note', 'woocommerce' ); ?></a>
<a href="#" class="delete_note" role="button"><?php _e( 'Delete note', 'woocommerce' ); ?></a>
</p>
</li>
<?php