Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/themes/advanced/color_picker.htm

    r15683 r17625  
    33<head>
    44    <title>{#advanced_dlg.colorpicker_title}</title>
    5     <script type="text/javascript" src="../../tiny_mce_popup.js?ver=3392"></script>
    6     <script type="text/javascript" src="../../utils/mctabs.js?ver=3392"></script>
    7     <script type="text/javascript" src="js/color_picker.js?ver=3392"></script>
     5    <script type="text/javascript" src="../../tiny_mce_popup.js?ver=342-20110407"></script>
     6    <script type="text/javascript" src="../../utils/mctabs.js?ver=342-20110407"></script>
     7    <script type="text/javascript" src="js/color_picker.js?ver=342-20110407"></script>
    88</head>
    9 <body id="colorpicker" style="display: none">
     9<body id="colorpicker" style="display: none" role="application" aria-labelledby="app_label">
     10    <span class="mceVoiceLabel" id="app_label" style="display:none;">{#advanced_dlg.colorpicker_title}</span>
    1011<form onsubmit="insertAction();return false" action="#">
    1112    <div class="tabs">
    1213        <ul>
    13             <li id="picker_tab" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
    14             <li id="rgb_tab"><span><a href="javascript:;" onclick="generateWebColors();mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
    15             <li id="named_tab"><span><a  href="javascript:;" onclick="generateNamedColors();javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
     14            <li id="picker_tab" aria-controls="picker_panel" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
     15            <li id="rgb_tab" aria-controls="rgb_panel"><span><a href="javascript:;" onclick="mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
     16            <li id="named_tab" aria-controls="named_panel"><span><a  href="javascript:;" onclick="javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
    1617        </ul>
    1718    </div>
     
    3536        <div id="rgb_panel" class="panel">
    3637            <fieldset>
    37                 <legend>{#advanced_dlg.colorpicker_palette_title}</legend>
     38                <legend id="webcolors_title">{#advanced_dlg.colorpicker_palette_title}</legend>
    3839                <div id="webcolors">
    3940                    <!-- Gets filled with web safe colors-->
     
    4546
    4647        <div id="named_panel" class="panel">
    47             <fieldset>
    48                 <legend>{#advanced_dlg.colorpicker_named_title}</legend>
    49                 <div id="namedcolors">
     48            <fieldset id="named_picker_label">
     49                <legend id="named_title">{#advanced_dlg.colorpicker_named_title}</legend>
     50                <div id="namedcolors" role="listbox" tabindex="0" aria-labelledby="named_picker_label">
    5051                    <!-- Gets filled with named colors-->
    5152                </div>
     
    6869
    6970        <div id="previewblock">
    70             <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text mceFocus" />
     71            <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" class="text mceFocus" aria-required="true" />
    7172        </div>
    7273    </div>
Note: See TracChangeset for help on using the changeset viewer.