joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

[4.3] Accessibility Features Plugin: choice of two different icon images (Google Font)

Open sandewt opened this issue 2 years ago • 16 comments
trafficstars

Pull Request for Issue #38832 . (second attempt)

Summary of Changes

  • Choice of two icon images (Google Font)
  • Choice of a rectangular (default) or a circular shape image

Testing Instructions

  • Enable the 'System - Additional Accessibility Features' plugin
  • Select the "Use Google Material Font"
  • Test the different options, see the attached images
  • Code review

Actual result BEFORE applying this Pull Request

No option to choose from two different icons and a shape (Google Font)

Expected result AFTER applying this Pull Request

pr_accessibility-2

pr_accessibility-3 pr_accessibility-4png

Some notes

  • It has not researched of the "package": "accessibility", "version": "3.0.17" is still correct.

See links:

Link to documentations

Please select:

  • [ ] Documentation link for docs.joomla.org:

  • [ ] No documentation changes for docs.joomla.org needed

  • [ ] Pull Request link for manual.joomla.org:

  • [ ] No documentation changes for manual.joomla.org needed

Open questions

- It is still Not possible to change the icon in the 'IconEmojis' mode - It will require some documentation udates

[EDIT]

sandewt avatar Jan 12 '23 13:01 sandewt

Maybe it makes more sense to change the Radio form field type to a List form field type?

@bembelimen @laoneo What do you think of that?

àccessibility_3

sandewt avatar Jan 28 '23 08:01 sandewt

Good suggestion.

laoneo avatar Jan 28 '23 10:01 laoneo

Good suggestion.

Done

sandewt avatar Jan 30 '23 09:01 sandewt

Addition information: see the source code in browser (info for code review)

Use Emojis

"icon": {
            "position": {
                "left": {
                    "size": "0",
                    "units": "px"
                }
            },
            "useEmojis": true,
            "img": "",
            "circular": ""
        },

Use Google Material Font

"icon": {
            "position": {
                "left": {
                    "size": "0",
                    "units": "px"
                }
            },
            "useEmojis": false,
            "img": "accessible",
            "circular": false
        },

sandewt avatar Jan 30 '23 09:01 sandewt

@drmenzelit

Related to "Update accessibility plugin to version 4.5.3 #39161

sandewt avatar Feb 02 '23 08:02 sandewt

This pull request has been automatically rebased to 5.0-dev. No new features will be merged into Joomla! 4.3 series. Joomla! 4.4 series is a bridge release to make migration from Joomla! 4 to 5 as smooth as possible.

HLeithner avatar May 08 '23 15:05 HLeithner

I have tested this item :white_check_mark: successfully on 3b1b15459a3aad6ba5099833d15c6505f36f2e14


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39615.

rachelwalraven avatar Aug 26 '23 12:08 rachelwalraven

I have tested this item :white_check_mark: successfully on 3b1b15459a3aad6ba5099833d15c6505f36f2e14


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39615.

rachelwalraven avatar Aug 26 '23 12:08 rachelwalraven

I have tested this item :red_circle: unsuccessfully on 3b1b15459a3aad6ba5099833d15c6505f36f2e14

Tested this at the PBF in Nijmegen in the online J5 server and got this error in Patch tester when applying the patch afbeelding


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39615.

hvdmeer avatar Aug 26 '23 14:08 hvdmeer

@hvdmeer that was because there are conflicting files as whon in your screenshot

brianteeman avatar Aug 26 '23 17:08 brianteeman

YEs @brianteeman , I talked with @sandewt about this PR as he was also at the PBF. Just added my failed test for future reference

hvdmeer avatar Aug 30 '23 20:08 hvdmeer

Is this problem going to be fixed:

The file marked for modification does not exist: plugins/system/accessibility/accessibility.php
```<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/39615">issues.joomla.org/tracker/joomla-cms/39615</a>.</sub>

ceford avatar Sep 15 '23 08:09 ceford

Is this problem going to be fixed:

This PR is from last January, so it has been open for a while. If I have time, I will fix this code next week.

But there is still more work to be done, see PR #39161

Moreover, a newer version of the js is current. Maybe someone will want to fix that. My knowledge is insufficient to do that...

sandewt avatar Sep 15 '23 14:09 sandewt

This pull request has been automatically rebased to 5.1-dev.

HLeithner avatar Sep 30 '23 22:09 HLeithner

I have tested this item :red_circle: unsuccessfully on 3b1b15459a3aad6ba5099833d15c6505f36f2e14

The file marked for modification does not exist: plugins/system/accessibility/accessibility.php Untitled 2


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39615.

fgsw avatar Dec 01 '23 10:12 fgsw

I have tested this item :red_circle: unsuccessfully on 3b1b15459a3aad6ba5099833d15c6505f36f2e14

Button [Apply patch] results in error message The file marked for modification does not exist: plugins/system/accessibility/accessibility.php


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39615.

crimle avatar Feb 24 '24 11:02 crimle

@sandewt

I have a question {perhaps a stupid one, I apologize if that's the case}, but while I love the idea of having choices for Google Fonts icons... the only way for using Google Fonts to be GDPR compliant is for that font to be locally hosted... and unless I missed something during my check of the Joomla 5 installation, there is no local such font file [.ttf or .woff2]. So, sure it is great to have a choice of icons but not if that means not being GPDR compliant.

So, if we are going to do this PR, can we update the PR to include a download/installation of the Google Fonts file and/or include that Google Fonts file as part of the Joomla installation?

exlemor avatar Mar 29 '24 22:03 exlemor

ignoring the misconception about google fonts not being gdpr compliant this PR is now redundant and should be closed as larger updates to this plugin are in progress which will allow a local font/icon/svg.

brianteeman avatar Mar 29 '24 22:03 brianteeman

Closing in favor of #43143. Thank you.

Quy avatar Mar 29 '24 22:03 Quy

Thanks all

sandewt avatar Mar 30 '24 07:03 sandewt