diff options
Diffstat (limited to 'demos/popup/default.html')
-rw-r--r-- | demos/popup/default.html | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/demos/popup/default.html b/demos/popup/default.html index 71b3c8dd2..7b63d9e1d 100644 --- a/demos/popup/default.html +++ b/demos/popup/default.html @@ -29,7 +29,7 @@ <style type="text/css"> .ui-popup { position: absolute; z-index: 5000; } .ui-menu { width: 200px; } - + /* table { border-collapse: collapse; @@ -55,26 +55,24 @@ <div class="demo"> <a href="#login-form">Log In</a> - <div id="login-form" class="ui-widget-content" tabIndex="0"> - <form> - <div> - <label>Username</label> - <input type="username" /> - </div> - <div> - <label>Password</label> - <input type="password" /> - </div> - <div> - <input type="submit" class="submit" value="Login" /> - </div> - </form> + <div class="ui-widget-content" id="login-form" aria-label="Login options"> + <div> + <label for="un">Username</label> + <input type="text" id="un" /> + </div> + <div> + <label for="pw">Password</label> + <input type="password" id="pw" /> + </div> + <div> + <input type="submit" value="Login" class="submit" /> + </div> </div> </div> <div class="demo-description"> -<p>A link to a login form that opens as a popup. [Not quite functional, focus handling needs to get better]</p> +<p>A link to a login form that opens as a popup.</p> </div><!-- End demo-description --> |