Skip to content

Commit 5890948

Browse files
committed
Merge remote-tracking branch '36257/validation-fix-for-accessibility-support' into comm_voted
2 parents 178c88c + db2d7c7 commit 5890948

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/web/mage/validation.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1938,7 +1938,11 @@ define([
19381938
.find('.control')
19391939
.find('input, select, textarea')
19401940
.attr('aria-required', 'true');
1941-
1941+
this.element
1942+
.find('.field.additional')
1943+
.find('.control')
1944+
.find('input, select, textarea')
1945+
.removeAttr('aria-required');
19421946
this._listenFormValidate();
19431947
},
19441948

0 commit comments

Comments
 (0)