I'm offering to co-maintain Alter blocks element markup to fixes Drupal 9 and 10 issues.
Fixed
1.0
Code