Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(RowList, BoxedRowList, Inline): support list a11y role (#1068)
WEB-1719 `RowList` and `BoxedRowList` will have `role="list"` by default, and the children `Row`/`BoxedRow` elements will have the `role="listitem"` by default. `Inline` will allow to setup `role="list"` and their children will have the `role="listitem` set automatically, as we were [already doing with `Stack`](https:/Telefonica/mistica-web/blob/master/src/stack.tsx#L64) Playroom to test the PR with a screen reader: https://mistica-hxdstsm8w-tuentisre.vercel.app/playroom/preview/#?code=N4Igxg9gJgpiBcIA8AlCB3AMgSwM4BcA+AHQDsACc1Dc-bfAGxgF5iQAVept82XMAE7YADnQilWIACIx+Q0dnE9xABQGzczYAAoAlOWaFywAL4nyAehIUqadLS4s2nRjHIAmHn0EixEtjJyvooUniDkquq4mjr6hsZmltZIFnY4BNZkSABCEAAeMFBpeERklDn5hXYOrpIu3OHe8n6SgT4KSuGRGlp6Bkam5lZlVLkFRTR0tc6OHl6y7S0BC80hc12kaj2x-QlDyRZjVRjppaRZABIQQgBe4vgAhgwAyoIQDAzW5QCSpAzYpDcAneThA-wIPFwwgeYBYwAAHCYvpQqABhAAWIkIGJE5AAjCkccJkeUidjMcIPISKSS0TSieQAMzUrEjUn0inkAAsLOJbLpWIZAFZeciUr9-oCDldbvcnq9gR9rCAADQgfDomAAWzgiGyDAeAFcQCYgA
- Loading branch information