You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<strong>Oh snap!</strong><ahref="#" class="alert-link">Change a few things up</a> and try submitting again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
33
33
</p>
34
34
<p>
35
-
<buttontype="button" class="btn btn-danger">Take this action</button>
36
-
<buttontype="button" class="btn btn-primary">Or do this</button>
35
+
<buttontype="button" class="btn-solid theme-danger">Take this action</button>
36
+
<buttontype="button" class="btn-solid theme-primary">Or do this</button>
<p>For checkboxes and radio buttons, ensure that keyboard behavior is functioning correctly.</p>
18
18
<p>Navigate to the checkboxes with the keyboard (generally, using <kbd>Tab</kbd> / <kbd><kbd>Shift</kbd> + <kbd>Tab</kbd></kbd>), and ensure that <kbd>Space</kbd> toggles the currently focused checkbox. Click on one of the checkboxes using the mouse, ensure that focus was correctly set on the actual checkbox, and that <kbd>Space</kbd> toggles the checkbox again.</p>
<p>Navigate to the radio button group with the keyboard (generally, using <kbd>Tab</kbd> / <kbd><kbd>Shift</kbd> + <kbd>Tab</kbd></kbd>). If no radio button was initially set to be selected, the first/last radio button should receive focus (depending on whether you navigated "forward" to the group with <kbd>Tab</kbd> or "backwards" using <kbd><kbd>Shift</kbd> + <kbd>Tab</kbd></kbd>). If a radio button was already selected, navigating with the keyboard should set focus to that particular radio button. Only one radio button in a group should receive focus at any given time. Ensure that the selected radio button can be changed by using the <kbd>←</kbd> and <kbd>→</kbd> arrow keys. Click on one of the radio buttons with the mouse, ensure that focus was correctly set on the actual radio button, and that <kbd>←</kbd> and <kbd>→</kbd> change the selected radio button again.</p>
33
33
34
34
<divclass="btn-group" data-bs-toggle="buttons">
35
-
<labelclass="btn btn-primary active">
35
+
<labelclass="btn-solid theme-primary active">
36
36
<inputtype="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)
37
37
</label>
38
-
<labelclass="btn btn-primary">
38
+
<labelclass="btn-solid theme-primary">
39
39
<inputtype="radio" name="options" id="option2" autocomplete="off"> Radio 2
40
40
</label>
41
-
<labelclass="btn btn-primary">
41
+
<labelclass="btn-solid theme-primary">
42
42
<inputtype="radio" name="options" id="option3" autocomplete="off"> Radio 3
Copy file name to clipboardExpand all lines: js/tests/visual/dialog.html
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ <h4>Text in a dialog</h4>
26
26
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
27
27
28
28
<h4>Popover in a dialog</h4>
29
-
<p>This <buttontype="button" class="btn btn-primary" data-bs-toggle="popover" data-bs-placement="left" title="Popover title" data-bs-content="And here's some amazing content. It's very engaging. Right?">button</button> should trigger a popover on click.</p>
29
+
<p>This <buttontype="button" class="btn-solid theme-primary" data-bs-toggle="popover" data-bs-placement="left" title="Popover title" data-bs-content="And here's some amazing content. It's very engaging. Right?">button</button> should trigger a popover on click.</p>
30
30
31
31
<h4>Tooltips in a dialog</h4>
32
32
<p><ahref="#" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">This link</a> and <ahref="#" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Tooltip on bottom">that link</a> should have tooltips on hover.</p>
@@ -39,8 +39,8 @@ <h4>Overflowing text to show scroll behavior</h4>
39
39
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
0 commit comments