File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3333 <ul role =" menu" aria-orientation =" vertical" >
3434 {% endif %}
3535 {% elseif menu_level == 1 %}
36- <ul role =" menu" {{ attributes. addClass ( ' sm ' , ' list-unstyled ' ) .removeClass(' menu' , ' list-inline' ) }}>
36+ <ul role =" menu" aria-orientation = " vertical " {{ attributes.removeClass (' menu' , ' list-inline' ) }}>
3737 {% else %}
38- <ul role =" menu" {{ attributes. addClass ( ' dropdown-menu ' , menu_name ) }} >
38+ <ul role =" menu" aria-orientation = " vertical " >
3939 {% endif %}
4040 {% for item in items %}
4141 {%
4747 %}
4848 {% if menu_level == 0 and item .is_expanded %}
4949 <li role =" presentation" {{ item .attributes .addClass (item_classes ) }}>
50- <a role =" menuitem" href =" {{ item .url }}" class = " dropdown-toggle item" data-toggle = " dropdown " >{{ item .title }}</a >
50+ <a role =" menuitem" href =" {{ item .url }}" tabindex = " -1 " aria-haspopup = " true " aria-controls = " {{ item . title | clean_id }} " aria-expanded = " false " >{{ item .title }}</a >
5151 {% else %}
5252 <li role =" presentation" {{ item .attributes .addClass (item_classes ) }}>
5353 {{ link(item .title , item .url , {' role' :[' menuitem' ]}) }}
You can’t perform that action at this time.
0 commit comments