add screen reader text to payment captured column

This commit is contained in:
David Remer 2020-04-28 13:34:21 +03:00
parent a09a4e1e3d
commit 019b77e5b1

View file

@ -75,7 +75,9 @@ class OrderTablePaymentStatusColumn
private function renderCompletedStatus()
{
echo '<span class="dashicons dashicons-yes"></span>';
echo '<span class="dashicons dashicons-yes">
<span class="screen-reader-text">' . esc_html__('Payment captured', 'woocommerce-paypal-commerce-gateway') . '</span>
</span>';
}
private function renderIncompletedStatus()