cyberstammtisch-silverstripe/themes/starter/templates/Includes/AriaAttributes.ss
2021-10-20 13:45:30 +02:00

6 lines
365 B
Scheme

<% if $Message || $Description %>
aria-describedby="<% if $Message %>message-$ID<% end_if %><% if $Description %><% if $Message %> <% end_if %>describes-$ID<% end_if %>"
<% end_if %>
<% if $Title || $RightTitle %>
aria-labelledby="<% if $Title %>title-$ID<% end_if %><% if $RightTitle %><% if $Title %> <% end_if %>extra-label-$ID<% end_if %>"
<% end_if %>