[4.0] Modify display and tip for Edit Article in Frontend#30588
[4.0] Modify display and tip for Edit Article in Frontend#30588laoneo merged 6 commits intojoomla:4.0-devfrom
Conversation
|
I have tested this item 🔴 unsuccessfully on 741f9ca This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30588. |
|
The accessibility changes you made are completely wrong
|
It was useless to set unsuccessful as I noted in the description Thank you for your comment. Getting rid of these 2 aspects. Is there anything else? |
|
Also because the link is called edit and the tooltip begins with edit it is announced by a screenreader as |
|
NPM ci is necessary. Class is not missing, role tooltip is a class de facto but it looks like I can't apply anymore this .diff in eclipse for the 3 layouts files Can you explain
Not sure what you mean by |
|
I see now why this PR does ot apply anymore here.. |
|
The git apply issue solved itself here.. :) |
Got it now. I don't think it is a big deal. |
|
That would be a decision by the accessibility team |
|
Stefan made suggestions. Will modify stuff shortly. |
|
I have tested this item ✅ successfully on f9fd8ed This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30588. |
|
Don't know why but the role=tooltip css is present in my unminified css file but NOR in the minified one |
|
@brianteeman did you use the patchtester? I have the same effect, but think that this not related to the PR. The PR looks great I will test as soon as required the changes are comitted. |
|
@chmst I did but I cant see how that would make a difference. If the code is present in the non-minified css then the patch has worked |
|
found the problem - its not related to patchtester - creating a seperate issue for it |
|
I have tested this item ✅ successfully on f9fd8ed This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30588. |
|
RTC as last changes were small cs corrections. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30588. |
|
Thanks! @wilsonge do we need to document the change that the helper function got removed in the upgrade guide? |
|
Will now make similar changes for the Edit Contact. |
|
@laoneo I guess it can't hurt to document it although I suspect it's a touch overkill |
* [4.0] Modify display and tip for EDit Article in Frontend * take off commented line * correcting wrong a11y parts * various improvements * cs * cs






Summary of Changes
Since Email to a friend and Print article have been taken off from J4, we do not need the anymore the Cog and dropdown to choose among actions. We now need only the Edit Article when authorised to do so.
Use of
role="tooltip"]instead of bootstrap tips.Cassiopea
[role="tooltip"]is modified for the look. Placement of tip specific to the article edit id.Should also be OK for a11y. TO CHECK please as I'm not a specialist.
Testing Instructions
3 situations:
In each case, hover the icon to see the tip.
patch, run NPM
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Note
If this is OK, will do for Contact