Fixed DOM path in theme tests after accessability improvement #11874

The WAI-ARIA fix added an element to the Window header making the dom
path in the tests invalid.

Change-Id: Iee7eb4f922153da8a413c81e6611f0d967ebe134