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

Fix header logo issues #121

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Fix header logo issues #121

wants to merge 5 commits into from

Conversation

mzayeddfe
Copy link

@mzayeddfe mzayeddfe commented Dec 12, 2024

Overview of changes

  • addresses this issue : 63

  • Changed the code for logo images so that they are inverted when clicked/clicked on.
    - Previously this was happening when clicking on the logo:

image
- Now this is what happens

Screenshot 2024-12-11 154852

this is what the logos without transparent background look like:

Screenshot 2024-12-12 101851

  • Added alt text for logo, main link and secondary link. Made it so if links or a logo are being used without an alt text, then an error will occur. Can change this if we want to be more flexible but thought it would be good for encouraging people to take accessibility into account.

  • Changed the following to line up with the change of requiring alt text for logos:

    • run_example function
    • example for the header function
    • added tests to check for alt text and for errors

@mzayeddfe mzayeddfe linked an issue Dec 12, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review the way logos and text are added to the header
1 participant