Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Update tree markup to have alert role on span #1812

Merged

Conversation

interactivellama
Copy link
Contributor

grunt serve task was failing do to html lint errors. Apparently, you can't have alert ARIA roles on li tags. They need to be on the ul or something inside the li tag.

@interactivellama
Copy link
Contributor Author

This was erroring out for me when doing repeater/combobox fixes.

@@ -12,7 +12,7 @@
</button>
</div>
<ul class="tree-branch-children" role="group"></ul>
<div class="tree-loader" role="alert">Loading...</div>
<div class="tree-loader"><span role="alert">Loading...</span></div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You said "you can't have role="alert" on li tags" but there are also a lot of changes here on div tags too. Are you fixing more than necessary here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to make it consistent and always you use a span. You are right the div's don't need to change to pass.

@futuremint futuremint merged commit bb0fdb3 into ExactTarget:master May 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants