WordPress.org

Making WordPress.org

Opened 3 months ago

Last modified 3 months ago

#5589 new enhancement

Category archives pages : accessibility improvement (HTML)

Reported by: Chaton666 Owned by:
Milestone: Priority: normal
Component: HelpHub Keywords: has-patch
Cc:

Description

This ticket is about category archives pages in helphub/support sites, for example : https://wordpress.org/support/category/getting-started/

Accessibility of theses pages can be improved by moving links around article inside h2 tag (title).

Actual markup :

<a href="https://wordpress.org/support/article/users-your-profile-screen/" class="archive-block">
	<article id="post-10778661" class="post-10778661 helphub_article type-helphub_article status-publish hentry category-basic-usage category-getting-started category-how-to helphub_persona-maintainers helphub_experience-beginner">
		<h2>Users Your Profile Screen</h2>
		<p>Users → Your Profile The Your Profile Screen is accessible from both the main navigation menu under Users and by clicking on your name link […]</p>
	</article>
</a>

New markup :

<div class="archive-block">
	<article id="post-10778661" class="post-10778661 helphub_article type-helphub_article status-publish hentry category-basic-usage category-getting-started category-how-to helphub_persona-maintainers helphub_experience-beginner">
		<h2><a href="https://wordpress.org/support/article/users-your-profile-screen/" class="archive-block">Users Your Profile Screen</a></h2>
		<p>Users → Your Profile The Your Profile Screen is accessible from both the main navigation menu under Users and by clicking on your name link […]</p>
	</article>
</div>

Attachments (1)

5589.diff (932 bytes) - added by Chaton666 3 months ago.

Download all attachments as: .zip

Change History (2)

@Chaton666
3 months ago

This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.


3 months ago

Note: See TracTickets for help on using tickets.