diff options
| author | Chris Rebert <[email protected]> | 2014-02-11 13:15:40 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-03-11 19:41:54 -0700 |
| commit | 4277ba62d35438aab1f445769d6263cb6e2114d2 (patch) | |
| tree | 2ad0f390cd5f2c7e6f99b3c720367c13cf75ac56 /docs/examples/theme | |
| parent | 1902f0ab50fb473fe78334c8bdd830863915415c (diff) | |
| download | bootstrap-4277ba62d35438aab1f445769d6263cb6e2114d2.tar.xz bootstrap-4277ba62d35438aab1f445769d6263cb6e2114d2.zip | |
add role="alert" to Alert examples, to improve accessibility
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/d8fcbcd3fe86f0cb47fda0ffe269b2c7a2131f07/README.md#alert
Diffstat (limited to 'docs/examples/theme')
| -rw-r--r-- | docs/examples/theme/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/examples/theme/index.html b/docs/examples/theme/index.html index 6e5dadf0d..2d49cc764 100644 --- a/docs/examples/theme/index.html +++ b/docs/examples/theme/index.html @@ -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> |
