Changeset 4898
- Timestamp:
- 01/07/10 12:43:29 (3 years ago)
- Location:
- CKEditor/branches/features/aria/_source/plugins
- Files:
-
- 2 edited
-
button/plugin.js (modified) (2 diffs)
-
richcombo/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/branches/features/aria/_source/plugins/button/plugin.js
r4896 r4898 140 140 ' hidefocus="true"' + 141 141 ' role="button"' + 142 ' aria-labelledby="' + id + '_label"' ); 142 ' aria-labelledby="' + id + '_label"' + 143 ( this.hasArrow ? ' aria-haspopup="true"' : '' ) ); 143 144 144 145 // Some browsers don't cancel key events in the keydown but in the … … 204 205 element.setAttribute( 'aria-disabled', true ) : 205 206 element.removeAttribute( 'aria-disabled' ); 207 208 state == CKEDITOR.TRISTATE_ON ? 209 element.setAttribute( 'aria-pressed', true ) : 210 element.removeAttribute( 'aria-pressed' ); 206 211 } 207 212 -
CKEditor/branches/features/aria/_source/plugins/richcombo/plugin.js
r4897 r4898 166 166 '<span id="' + id+ '_label" class=cke_label>', this.label, '</span>' + 167 167 '<a hidefocus=true title="', this.title, '" tabindex="-1" href="javascript:void(\'', this.label, '\')"' + 168 ' role="button" aria-labelledby="', id , '_label" aria-describedby="', id, '_text" ' );168 ' role="button" aria-labelledby="', id , '_label" aria-describedby="', id, '_text" aria-haspopup="true"' ); 169 169 170 170 // Some browsers don't cancel key events in the keydown but in the
Note: See TracChangeset
for help on using the changeset viewer.
