Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Add role and aria label to Callout Cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinsina committed May 18, 2022
1 parent 3021f21 commit b092acb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getAsArray } from "@parameter1/base-cms-object-path";
$ const blockName = "callout-cards";
$ const slots = getAsArray(input, "slots");

<marko-web-block name=blockName>
<marko-web-block name=blockName attrs={ role: "region", "aria-label": "Callout Cards" }>
<marko-web-element block-name=blockName name="row">
<marko-web-element block-name=blockName name="col">
<${slots[0].renderBody} />
Expand Down

0 comments on commit b092acb

Please sign in to comment.