Skip to content

Commit 1c05830

Browse files
committed
namespace additional aria attributes
1 parent 9a05d24 commit 1c05830

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/helpers/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ private static function _namespaceAttributes(string &$html, string $namespace, b
817817

818818
// normal HTML attributes
819819
$html = preg_replace_callback(
820-
"/(?<=\\s)((for|list|xlink:href|href|aria\\-labelledby|aria\\-describedby|aria\\-controls|data\\-target|data\\-reverse\\-target|data\\-target\\-prefix)=('|\"))([^'\"]+)\\3/i",
820+
"/(?<=\\s)((for|list|xlink:href|href|aria\\-labelledby|aria\\-describedby|aria\\-controls|aria\\-activedescendant|aria\\-flowto|aria\\-owns|data\\-target|data\\-reverse\\-target|data\\-target\\-prefix)=('|\"))([^'\"]+)\\3/i",
821821
function(array $match) use ($namespace, $ids): string {
822822
$matchIds = preg_split('/([,\s+]+)/', $match[4], flags: PREG_SPLIT_DELIM_CAPTURE);
823823
$namespacedIds = '';

0 commit comments

Comments
 (0)