
In the following example, using sequential navigation with tab we always reach Home -> Info -> About -> Contact -> Documentation. Whereas when :boxed="false" the sequence follows Home -> Info -> Documentation, as expected.
<div id="app" class="container">
<b-navbar>
<template slot="start">
<b-navbar-item href="#">Home</b-navbar-item>
<b-navbar-dropdown :boxed="true" label="Info">
<b-navbar-item href="#">About</b-navbar-item>
<b-navbar-item href="#">Contact</b-navbar-item>
</b-navbar-dropdown>
<b-navbar-item href="#">Documentation</b-navbar-item>
</template>
</b-navbar>
</div>
The problem lies in the .is-bloxed class, it is set to always display:block and opacity:0 when not toggled.
This works well to the majority of users but it can be quite confusing for the one who uses assistive technologies.
.navbar-dropdown.is-boxed {
border-radius: 6px;
border-top: none;
box-shadow: 0 8px 8px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
display: block;
opacity: 0;
pointer-events: none;
top: calc(100% + (-4px));
transform: translateY(-5px);
transition-duration: 86ms;
transition-property: opacity, transform;
transition-property sadly can't work with display, so I can't think of a way to make it work the way it is expected.
In the following example, using sequential navigation with tab we always reach Home -> Info -> About -> Contact -> Documentation. Whereas when
:boxed="false"the sequence follows Home -> Info -> Documentation, as expected.The problem lies in the .is-bloxed class, it is set to always
display:blockandopacity:0when not toggled.This works well to the majority of users but it can be quite confusing for the one who uses assistive technologies.
transition-propertysadly can't work withdisplay, so I can't think of a way to make it work the way it is expected.