Friday 26 May 2017

Tag Cloud widget changes in 4.8


The Tag Cloud widget is still pretty popular and for a number of years, it has used title attributes to visually display the number of posts using a specific tag. WordPress 4.8 removes these title attributes and replaces them with aria-label attributes with optional counts displayed in plain text.
Why it matters
Title attributes aren’t very accessible. Depending on the specific assistive technology and on user settings, they might be completely ignored. On touch devices, title attributes are a bit pointless.
The best option is not to rely on title attributes to convey important information to users. Information that is important enough should be available to all users.
In the last few releases, WordPress has been progressively removing many title attributes used in the admin screens (see: #24766). The same principle applies to the front end. The Tag Cloud widget is another step towards the progressive removal of title attributes in the front end where they’re used inappropriately.
What plugin or theme authors should know
There are no visual changes by default, other than the removal of the title attributes. There is a new option for developers though: tag counts can be displayed
Source: https://managewp.org/articles/15209/tag-cloud-widget-changes-in-4-8




source https://williechiu40.wordpress.com/2017/05/26/tag-cloud-widget-changes-in-4-8/

No comments:

Post a Comment