@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

a11y: Add "title" to <a> tags of PHUIObjectItemView images

Summary:
Links should have a discernible name per https://dequeuniversity.com/rules/axe/4.10/link-name

`PhabricatorRepositorySearchEngine::renderResultList()` renders `PHUIObjectItemView` objects, thus add `title` parameters to <a> links.

Ref T16072

Test Plan:
Go to http://phorge.localhost/diffusion/ and inspect the `<a>` element surrounding the folder icon link for each listed repository.
Go to http://phorge.localhost/people/ and inspect the `<a>` element surrounding the folder icon link for each listed repository.
Optionally, run an Accessibility check in Chromium Lighthouse.

Reviewers: O1 Blessed Committers, chris

Reviewed By: O1 Blessed Committers, chris

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16072

Differential Revision: https://we.phorge.it/D26047

+1
+1
src/view/phui/PHUIObjectItemView.php
··· 688 688 'a', 689 689 array( 690 690 'href' => $image_href, 691 + 'title' => $title_text, 691 692 ), 692 693 $image); 693 694 }