Changeset 37734
- Timestamp:
- 06/16/2016 09:50:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wp-a11y.js
r33201 r37734 5 5 6 6 var $containerPolite, 7 $containerAssertive, 8 role; 7 $containerAssertive; 9 8 10 9 /** … … 40 39 function addContainer( ariaLive ) { 41 40 ariaLive = ariaLive || 'polite'; 42 role = 'assertive' === ariaLive ? 'alert' : 'status';43 41 44 42 var $container = $( '<div>', { 45 43 'id': 'wp-a11y-speak-' + ariaLive, 46 'role': role,47 44 'aria-live': ariaLive, 48 45 'aria-relevant': 'additions text',
Note: See TracChangeset
for help on using the changeset viewer.