edx/edx-platform — pull request #1780 by talbs (2013-11-26 02:24:33+00:00)
Title: Studio: Adds HTML5 data-* Attributes as Test Logic Hooks (WIP - DO NOT MERGE)

This experimental work aims to help the test engineering group with more solid (and less often to be edited) HTML attributes to use as points of logic when writing interface/state tests.

Currently the attributes added include:

* data-view -- this is used on each whole view's <body> element
* data-menu -- this is used to denote any non-native but common UI menu type we may be using (values used: "dropdown", "accordion")
* data-rel -- this is used on any link to clarify its scope in relation to the current browser window/domain (values used now: "external" -- an outside site or third party)

Other suggestions are welcome and I will reach out to @jz and @wedaly to see what other UI hooks (elements/states) might be useful to make.