[wp-trac] [WordPress Trac] #41191: Create browse happy type notice for PHP versions
WordPress Trac
noreply at wordpress.org
Mon Mar 5 09:27:11 UTC 2018
#41191: Create browse happy type notice for PHP versions
-------------------------------------------------+-------------------------
Reporter: joostdevalk | Owner: flixos90
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs- | Focuses:
testing needs-design ui-feedback |
-------------------------------------------------+-------------------------
Comment (by GaryJ):
One bit of the patch is this:
{{{#!php
<a class="notice-upgrade-button button button-primary button-hero"
href="<?php echo esc_url( $information_url ); ?>"><?php _e( 'Learn more
about upgrading PHP' ); ?></a>
<a href="<?php echo esc_url( $update_url ); ?>"><?php _e( 'or upgrade
right away' ); ?></a>
}}}
That's two consecutive links, which according to [https://www.w3.org/TR
/WAI-WEBCONTENT/#gl-interim-accessibility WCAG 1.0] at least, "Older
screen readers read lists of consecutive links as one link."
This could be mitigated by making the "or" not linked, which would then
also make the links more distinct for visual users as well.
And as mentioned, this split sentence will make translating less friendly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41191#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list