1
0
mirror of https://github.com/moodle/moodle.git synced 2025-05-04 07:08:51 +02:00

MDL-83108 tiny_h5p: Remove redundant aria-label attributes

This commit is contained in:
Albert Gasset 2025-02-21 11:01:57 +01:00
parent 22f97671d5
commit c1752b5101
2 changed files with 1 additions and 4 deletions
lib/editor/tiny/plugins/h5p
templates
tests/behat

@ -120,7 +120,6 @@
}} name="download"{{!
}} {{# download }}checked{{/ download }}{{!
}} class="form-check-input"{{!
}} aria-label="{{#str}} downloadbutton, tiny_h5p{{/str}}"{{!
}} id="{{elementid}}-{{uniqid}}_h5p-option-allow-download"{{!
}} />
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_h5p-option-allow-download">
@ -132,7 +131,6 @@
}} name="embed"{{!
}} {{# embed }}checked{{/ embed }}{{!
}} class="form-check-input"{{!
}} aria-label="{{#str}} embedbutton, tiny_h5p{{/str}}"{{!
}} id="{{elementid}}-{{uniqid}}_h5p-option-embed-button"{{!
}} />
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_h5p-option-embed-button">
@ -144,7 +142,6 @@
}} name="copyright"{{!
}} {{# copyright }}checked{{/ copyright }}{{!
}} class="form-check-input"{{!
}} aria-label="{{#str}} copyrightbutton, tiny_h5p{{/str}}"{{!
}} id="{{elementid}}-{{uniqid}}_h5p-option-copyright-button" {{!
}}/>
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_h5p-option-copyright-button">

@ -162,7 +162,7 @@ Feature: Use the TinyMCE editor to upload an h5p package
And I select the ".h5p-placeholder" "css_element" in the "Page content" TinyMCE editor
And I click on the "Insert H5P content" button for the "Page content" TinyMCE editor
And I click on "H5P options" "link"
And "input[aria-label=\"Embed button\"]:not([checked=checked])" "css_element" should exist
And the field "Embed button" matches value "1"
@javascript
Scenario: Enable/disable display options