Opened 4 years ago

Closed 4 years ago

#5283 closed defect (bug) (fixed)

Profiles: Accessibility: Remove redundant texts in dotorg profiles

Reported by: audrasjb's profile audrasjb Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Profiles Keywords: needs-patch


In profile pages, there is some redundant information that need to be remove.

The issue is located on contributor’s badges.

Here is the current HTML code:

<li class="odd private is-admin is-member group-no-avatar">
	<span class="screen-reader-text">Accessibility Contributor</span>
	<div class="badge item dashicons badge-accessibility-contributor dashicons-universal-access" title="Accessibility Contributor"></div>
	Accessibility Contributor

It should be replaced with:

<li class="odd private is-admin is-member group-no-avatar">
	<div class="badge item dashicons badge-accessibility-contributor dashicons-universal-access"></div>
	Accessibility Contributor

Since profile pages are not open-sourced yet, I tested this new html code in my browser and it doesn't introduce any user facing change, apart improving the readability of this page for screen reader users.


Change History (2)

#1 @coffee2code
4 years ago

  • Owner set to coffee2code
  • Status changed from new to accepted

#2 @coffee2code
4 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in [16201-dotorg]:

Profiles: Remove redundant text associated with badges to improve accessibility.

Props audrasjb.
Fixes #5283.

Note: See TracTickets for help on using tickets.