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 small accessibility and design issues #503

Merged

Conversation

albinazs
Copy link
Contributor

@albinazs albinazs commented Aug 20, 2024

Addresses #493

  • Fix color contrast and link not distinguishable in text issues showing up on Recipe pages
  • Remove support for dropdown menus within the main navigation menu
  • Fix the aria-allowed attributes issue on the Contact us form page
  • Fix the missing table headers issue on the Breads index page
  • Fix the missing heading level 1 issue on the Recipes index page
  • Add missing headings to the Location pages
  • Update Twitter to X on the FE only (icon, label, field verbose name for admin)

@albinazs albinazs requested a review from thibaudcolas August 20, 2024 17:12
Copy link
Member

@thibaudcolas thibaudcolas left a comment

Choose a reason for hiding this comment

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

Thank you, all looking great!

@@ -2,13 +2,7 @@
{% get_site_root as site_root %}

{% for menuitem in menuitems %}
<li class="presentation {{ menuitem.title|lower|cut:" " }}{% if menuitem.active %} active{% endif %}{% if menuitem.show_dropdown %} has-submenu{% endif %}">
{% if menuitem.show_dropdown %}
<a href="{% pageurl menuitem %}" class="allow-toggle">{{ menuitem.title }} <span><a class="caret-custom dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"></a></span></a>
Copy link
Member

Choose a reason for hiding this comment

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

It looks like there are classes here that could also be removed from the CSS (dropdown-menu, has-submenu, caret-custom)

@thibaudcolas thibaudcolas merged commit b93091c into wagtail:main Sep 6, 2024
3 checks passed
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.

2 participants