Hi. I am wondering if/how I can add semantic html or aria roles to a transformation to make it an ordered list. Each item that repeats would be the list items (li) and the entire group of them would be the unorder list (ul). This is the transformation that I am working with:
<h2><%# Eval("DocumentName") %></h2> <div><ul> <cc1:CMSRepeater ID="CMSFAQ" runat="server" ClassNames="CMS.FAQ" StopProcessing="true" TransformationName="CMS.FAQ.QuestionAnswer_Custom" Path='<%# Eval("NodeAliasPath") + "/%" %>' OrderBy = "NodeLevel, NodeOrder, NodeName" > </cc1:CMSRepeater> <script runat="server"> protected void Page_PreRender(object sender, EventArgs e) { CMSFAQ.StopProcessing = false; CMSFAQ.ReloadData(true); } </script> </ul></div>
Did you manage to sort this?
You need to look at the content of the transformation in the Page Type "CMS.FAQ" called "QuestionAnswer_Custom".
You should be able to modify the contents of that view to be the li element, and add any aria roles.
Please, sign in to be able to submit a new answer.