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

♿ [#2340] Header/footer logo use alt from image configuration #1260

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

jiromaykin
Copy link
Contributor

@jiromaykin jiromaykin commented Jun 17, 2024

Taiga: https://taiga.maykinmedia.nl/project/open-inwoner/task/2340

Both the header logo and the footer logo need to use the same ALT that can be set in the Admin in the 'mappen' configuration: http://localhost:8000/admin/filer/folder/

Each image in there (navigate to any in the mappen/directories) has an 'ALT' field that can be set - but when empty the image should just receive value from the Site Name.

Screenshot 2024-06-17 at 17 41 58

@@ -55,7 +55,7 @@ def settings(request):
},
"footer": {
"logo": config.footer_logo,
"logo_alt": config.name,
"logo_alt": config.logo.default_alt_text,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pi-sigma Not sure I am using the correct approach here... Not quite sure why this value is set differently for the footer anyway
(would this just be for emailtemplates?)

@jiromaykin jiromaykin marked this pull request as ready for review June 17, 2024 15:49
@jiromaykin jiromaykin requested a review from pi-sigma June 17, 2024 15:49
@jiromaykin jiromaykin changed the title [#2340] Header/footer logo use alt from image configuration ♿ [#2340] Header/footer logo use alt from image configuration Jun 17, 2024
@jiromaykin jiromaykin added the Accessibility Improving accessibility label Jun 17, 2024
@jiromaykin jiromaykin force-pushed the issue/2340-A11y-footer-logo-alt branch from a7385b2 to f2ce234 Compare June 18, 2024 10:20
@jiromaykin jiromaykin requested a review from pi-sigma June 18, 2024 12:49
@alextreme alextreme merged commit 1e5aafb into develop Jun 18, 2024
16 checks passed
@alextreme alextreme deleted the issue/2340-A11y-footer-logo-alt branch June 18, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Improving accessibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants