Make WordPress Core


Ignore:
Timestamp:
01/18/2023 11:14:33 AM (3 years ago)
Author:
youknowriad
Message:

Editor: Add inert attribute polyfill.

The new Gutenberg packages are using the inert attribute
to disable some parts of the HTML tree in an accessible way.

Props ntsekouras.
Fixes #57492.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r55012 r55084  
    100100        'wp-polyfill-element-closest',
    101101        'wp-polyfill-object-fit',
    102         'wp-polyfill' => array( 'regenerator-runtime' ),
     102        'wp-polyfill-inert',
     103        'wp-polyfill' => array( 'wp-polyfill-inert', 'regenerator-runtime' ),
    103104    );
    104105
     
    116117        'wp-polyfill-element-closest' => '2.0.2',
    117118        'wp-polyfill-object-fit'      => '2.3.5',
     119        'wp-polyfill-inert'           => '3.1.2',
    118120        'wp-polyfill'                 => '3.15.0',
    119121    );
Note: See TracChangeset for help on using the changeset viewer.