Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 7 commits into from

Conversation

sandewt
Copy link
Contributor

@sandewt sandewt commented Jan 12, 2023

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]

icon images
Accessibilty icon images
Accessibillity icons
@joomla-cms-bot joomla-cms-bot added the Language Change This is for Translators label Jan 12, 2023
@sandewt sandewt changed the title [4.3] Accessibility Features Plugin: choice of two icon images icon images [4.3] Accessibility Features Plugin: choice of two icon images (Google Font) Jan 12, 2023
@sandewt sandewt changed the title [4.3] Accessibility Features Plugin: choice of two icon images (Google Font) [4.3] Accessibility Features Plugin: choice of two different icon images (Google Font) Jan 12, 2023
Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com>
@sandewt
Copy link
Contributor Author

sandewt commented Jan 28, 2023

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

@laoneo
Copy link
Member

laoneo commented Jan 28, 2023

Good suggestion.

@sandewt
Copy link
Contributor Author

sandewt commented Jan 30, 2023

Good suggestion.

Done

@sandewt
Copy link
Contributor Author

sandewt commented Jan 30, 2023

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
Copy link
Contributor Author

sandewt commented Feb 2, 2023

@drmenzelit

Related to "Update accessibility plugin to version 4.5.3 #39161

@HLeithner
Copy link
Member

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.

@rachelwalraven
Copy link

I have tested this item ✅ successfully on 3b1b154


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

1 similar comment
@rachelwalraven
Copy link

I have tested this item ✅ successfully on 3b1b154


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

@hvdmeer
Copy link

hvdmeer commented Aug 26, 2023

I have tested this item 🔴 unsuccessfully on 3b1b154

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.

@brianteeman
Copy link
Contributor

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

@hvdmeer
Copy link

hvdmeer commented Aug 30, 2023

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

@ceford
Copy link
Contributor

ceford commented Sep 15, 2023

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>

@sandewt
Copy link
Contributor Author

sandewt commented Sep 15, 2023

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...

@HLeithner HLeithner changed the base branch from 5.0-dev to 5.1-dev September 30, 2023 22:50
@HLeithner
Copy link
Member

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

@fgsw
Copy link

fgsw commented Dec 1, 2023

I have tested this item 🔴 unsuccessfully on 3b1b154

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.

@crimle
Copy link

crimle commented Feb 24, 2024

I have tested this item 🔴 unsuccessfully on 3b1b154

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.

@exlemor
Copy link

exlemor commented Mar 29, 2024

@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?

@brianteeman
Copy link
Contributor

brianteeman commented Mar 29, 2024

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.

@Quy
Copy link
Contributor

Quy commented Mar 29, 2024

Closing in favor of #43143. Thank you.

@sandewt
Copy link
Contributor Author

sandewt commented Mar 30, 2024

Thanks all

@sandewt sandewt deleted the patch-1 branch August 19, 2024 13:50
@sandewt sandewt restored the patch-1 branch August 19, 2024 13:51
@sandewt sandewt deleted the patch-1 branch August 19, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.