-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(b-nav-form, b-nav-text): ensure these sub-components have <li>
as root element for accessibility
#4100
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
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #4100 +/- ##
==========================================
+ Coverage 99.86% 99.86% +<.01%
==========================================
Files 237 237
Lines 4534 4538 +4
Branches 1280 1280
==========================================
+ Hits 4528 4532 +4
Misses 5 5
Partials 1 1
Continue to review full report at Codecov.
|
b-nav-*
sub-components are wrapped in <li>
for a11y<li>
as root element for a11y
<li>
as root element for a11y<li>
as root element for accessibility
This shouldn't be a breaking change for the majority of users, but those that might be expecting a certain root element for styling it might be. for But thinking it might be a big enough change that is should be in a minor release, rather than a patch release. |
<li>
as root element for accessibility<li>
as root element for accessibility
Describe the PR
b-nav
andb-navbar-nav
use<ul>
as their root elements. So all direct children should be wrapped in<li>
elements for proper element semantic hierarchy and accessibility (a11y).For
b-nav-form
, a new propform-class
is introduced for placing classes on the nested form element.PR checklist
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
For users targeting specific child elements via CSS, they may need to adjust their selectors.
For general users, it should work as expected without any code changes.
The PR fulfills these requirements:
dev
branch, not themaster
branch[...] (fixes #xxx[,#xxx])
, where "xxx" is the issue number)fix(alert): not alerting during SSR render
,docs(badge): update pill examples, fix typos
,chore: fix typo in README
, etc). This is very important, as theCHANGELOG
is generated from these messages.If new features/enhancement/fixes are added or changed:
package.json
for slot and event changes)If adding a new feature, or changing the functionality of an existing feature, the PR's
description above includes: