Difference between revisions of "Select Option and Optgroup Elements"

From Level Access Web Labs
Jump to navigation Jump to search
(Listbox)
Line 14: Line 14:
 
<head>
 
<head>
 
<style>
 
<style>
   option {
+
   option:selected {
 
     color: red;
 
     color: red;
 
background-color:purple;
 
background-color:purple;

Revision as of 03:26, 14 November 2020

Standard Select Element

Listbox

Multi-select

Select with Optgroup

Results for optgroup

The only screen reader browser combination that supports optgroup is JAWS with Internet explorer.

Select with over 20 options