Changeset 62892
- Timestamp:
- 07/29/2026 01:36:12 AM (7 weeks ago)
- File:
-
- 1 edited
-
trunk/src/js/media/views/attachment.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/media/views/attachment.js
r62105 r62892 19 19 20 20 attributes: function() { 21 var ariaLabel = this.model.get( 'title' ); 22 23 if ( ! ariaLabel ) { 24 if ( this.model.get( 'uploading' ) ) { 25 ariaLabel = wp.i18n.__( 'uploading…' ); 26 } else { 27 ariaLabel = wp.i18n.__( '(no title)' ); 28 } 29 } 30 21 31 return { 22 32 'tabIndex': 0, 23 33 'role': 'checkbox', 24 'aria-label': this.model.get( 'title' ) || wp.i18n.__( 'uploading…' ),34 'aria-label': ariaLabel, 25 35 'aria-checked': false, 26 36 'data-id': this.model.get( 'id' )
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)