menu item for current page is missing a href tag for anonymous user drupal 8: 
Theme used "bartik". 

If user is logged in, the active menu item has an &lt;a&gt; - tag, if not the tag is missing. 

Is this the expected drupal behavior? btw. the same happens on the language switcher block.

How can i output the a-href tag for anonymous users? This would make theming menus much easier. Thx for any help or pointing me into the right direction

markup for anonymous user

    &lt;ul class="clearfix menu"&gt;
.....
&lt;li class="menu-item menu-item--active-trail"&gt;
    c
&lt;/li&gt;




markup for admin user

&lt;ul class="clearfix menu"&gt;
......
&lt;li class="menu-item menu-item--active-trail"&gt;
    &lt;a href="/drupal-8.0.3-clean/node/3" data-drupal-link-system-path="node/3" class="is-active"&gt;c&lt;/a&gt;
&lt;/li&gt;
I fixed this issue by overriding menu.html.twig. You could override menu--main.html.twig instead, if you just want to target the main menu: 

menu.html.twig

&lt;li{{ item.attributes.addClass(classes) }}&gt;
  ##REPLACE THIS LINE:## {{ link(item.title, item.url) }}
  ##WITH THIS LINE:## &lt;a data-drupal-link-system-path="{{ item.url }}" title="{{ item.title }}" href="{{ item.url }}"&gt;{{ item.title }}&lt;/a&gt;
  {% if item.below %}
    {{ menus.menu_links(item.below, attributes, menu_level + 1) }}
  {% endif %}
&lt;/li&gt;


I submitted a bug report here: https://www.drupal.org/node/2695619