2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

add role="alert" to Alert examples, to improve accessibility

Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/d8fcbcd3fe86f0cb47fda0ffe269b2c7a2131f07/README.md#alert
This commit is contained in:
Chris Rebert
2014-02-11 13:15:40 -08:00
parent 1902f0ab50
commit 4277ba62d3
4 changed files with 28 additions and 28 deletions
+4 -4
View File
@@ -216,16 +216,16 @@
<div class="page-header">
<h1>Alerts</h1>
</div>
<div class="alert alert-success">
<div class="alert alert-success" role="alert">
<strong>Well done!</strong> You successfully read this important alert message.
</div>
<div class="alert alert-info">
<div class="alert alert-info" role="alert">
<strong>Heads up!</strong> This alert needs your attention, but it's not super important.
</div>
<div class="alert alert-warning">
<div class="alert alert-warning" role="alert">
<strong>Warning!</strong> Best check yo self, you're not looking too good.
</div>
<div class="alert alert-danger">
<div class="alert alert-danger" role="alert">
<strong>Oh snap!</strong> Change a few things up and try submitting again.
</div>