All strings are translated 100% for German and German formal now, but these menu items are still shown in english, only.
German:
https://translate.www.ads-software.com/projects/wp-plugins/simply-gallery-block/stable/de/default/
German Formal:
https://translate.www.ads-software.com/projects/wp-plugins/simply-gallery-block/stable/de/formal/
Recently, I had my menu markup improved to better accommodate screen readers, announcing state of menu (expanded/collapsed), how many sub menu items there is, etc.
I’ve been testing with NVDA and JAWS and keyboard navigation. And while I’m not an expert, the revised menu does appear to work well.
However …
Now Accessibilty Checker tells me I’m doing it wrong
<a href="#" class="ct-menu-link" role="menuitem"><span class="ct-icon-container ct-left"><svg width="20" height="20" viewbox="0,0,448,512"><path d="M0 32c477.6 0 366.6 317.3 367.1 366.3L448 480h-26l-70.4-71.2c-39 4.2-124.4 34.5-214.4-37C47 300.3 52 214.7 0 32zm79.7 46c-49.7-23.5-5.2 9.2-5.2 9.2 45.2 31.2 66 73.7 90.2 119.9 31.5 60.2 79 139.7 144.2 167.7 65 28 34.2 12.5 6-8.5-28.2-21.2-68.2-87-91-130.2-31.7-60-61-118.6-144.2-158.1z" /></svg></span>Mega<span class="ct-menu-badge" >Menu!</span></a>
The culprit appears to be that we are using # as href for the parent menu item.
Our markup was inspired by https://www.w3.org/WAI/ARIA/apg/example-index/menubar/menubar-navigation.html
While the suggested solution using role="button"
at https://equalizedigital.com/accessibility-checker/improper-use-of-link/ appears to satisfy Accessibility Checker, we thought that the role="menuitem"
is more meaningful, as the link in fact is part for a menu.
In the linked example, the mega menu item is almost styled like a button, I know, but this issue appears on other sites with ‘standard menu’ items as well.
Thoughts?
Bjarne
I am using “WP Activity Log” plugin version 4.2.0. I was facing issue while reordering menu item and save the Menu in wordpress website:
“Fatal error: Uncaught ArgumentCountError: Too few arguments to function WSAL_Sensors_Menus::EventChangeOrder(), 2 passed in /wp-content/plugins/wp-security-audit-log/classes/Sensors/Menus.php on line 126 and exactly 3 expected in /wp-content/plugins/wp-security-audit-log/classes/Sensors/Menus.php”
Can you please update 3rd argument/parameter on line 126 to Menus.php?
$this->EventChangeOrder( $item_name, $old_item['menu_name'], $menu_id);
the above line will fix the issue.
Cheers
I’m not a wordpress, nor website builder guru at all. This is my first webpage and i’ve got bit of a problem.
My webpage address: https://geochip.hu/tarsphp/
I would like to change the main menu “Kezd?lap” item’s default background color to #009999 when it’s active (which means that the menu items are unified in colors when you open the webpage).
I tried a lot of googling and a lot of solutions to this problem but my best guess would be that this Artisteer 4 template overwrites my “egyedimenu” custom menu css class and I can’t get it to work.
If anyone have a solution to this problem please do not hesitate and make my day better!
Thank you for your help in advance!
]]>I noticed today that on my website, there is an item in the menu called ‘navigation’, which directs to my welcome page (which is also in my menu as ‘welcome’). When I look in my menu in the admin console this ‘navigation’ item is not present (so I can’t remove it from there). Even if I make a new menu and don’t add any items, there it is again, this ‘navigation’ item in the webpage menu. Previously this was not present.
This is my website: www.jandfvillas.com
using Travelify theme
So my question is, how can I remove this ‘navigation’ item from my menu’s ?
I tried googling and searching this forum for this issue, but wasn’t able to find anything useful. Appologies if I missed it somewhere.
Thanks a lot for the help.
]]>Im close to finish my first Worpress site. So far, I was able to solve all of my problems, also using this forum’s links. The only one thing is the menu items in the main bar. They get deselected if I choose from a category, linked via an in-page menu rather than the main menu.
While the underlying reason seems clear to me, I’ve already tried out a lot of things based on CSS and PHP, but unfortunately none of them worked. Selecting an item in the main menu bar calls content-page.php, while selecting a category via link in the side-bar on a page will run through category.php. This will completely deselect the menubar (and keep the user unoriented).
Since the menubar is completely deselected, none of the CSS classes that are applied to selected menu items would apply. So maybe one of you had the same problem and found an easy solution of how to patch the CSS from within the PHP code.
Thanks a lot for your support.
G?tz
]]><?php add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position ); ?>
But, I am confused where to add this code.
Whether to add it in my theme’s functions.php or my plugin’s functions.php ?
Or any other way to add custom menu-item on the dashboard of the wordpress logged in as admin ?
]]>I don’t know if this is the right location, but I consider the stuff I use as being hacks. If you pop over to my site https://www.bee-digital.com you will see that I have a “Home” page with posts in different categories. However I also have a Portfolio page with posts in some specific categories.
My problem is that depending on which categories or posts you are looking at, I want different left-side menu and I want to show the parent menuitem in the top menu as selected.
The code I have now worked, for a while You’ll notice the left menu becomes wrong when you navigate to Portfolio posts. I was hoping someone had a better way. These are the codebits I currently use (they worked until I got a post in category 46 Portfolio-other), I tried some modifications yesterday but they didn’t make much difference: https://www.bee-digital.com/?p=142#more-142
I’m new to wordpress & to this community.I’m playing with wp for three days & I’ve got some doubts to ask.
Consider the default www.ads-software.com website menus.
It has the following menus. Home | About | Extend
when I click Home, Home page is shown. When I click about,
the about menu item is highlighted, and a new block at the left appears with intro menu item highlighted. when I click
features(menu item on the left) it is highlighted & its main category (about) is also highlighted. similarly for other menus in the left. How can i achieve this effect with wp?. can any one tell me how can be this done? or any relevant topics regarding this?
Thank you
]]>