mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-29 16:19:53 +02:00
Examples: minor accessibility improvements (#40620)
- no need for `role="document"` on modals (was removed from Bootstrap a while ago) - use `type="email"` for email input - add aria-labels for previous month and next month buttons on date picker demo Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
@@ -167,7 +167,7 @@ body_class: ""
|
||||
<p>Monthly digest of what's new and exciting from us.</p>
|
||||
<div class="d-flex flex-column flex-sm-row w-100 gap-2">
|
||||
<label for="newsletter1" class="visually-hidden">Email address</label>
|
||||
<input id="newsletter1" type="text" class="form-control" placeholder="Email address">
|
||||
<input id="newsletter1" type="email" class="form-control" placeholder="Email address">
|
||||
<button class="btn btn-primary" type="button">Subscribe</button>
|
||||
</div>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user