Home | History | Annotate | Download | only in accessibility

Lines Matching full:button

100       "<body><input type='button' value='push' /><input type='checkbox' />"
128 const WebAccessibility& button = body.children[0];
129 EXPECT_EQ(WebAccessibility::ROLE_BUTTON, button.role);
131 "input", GetAttr(button, WebAccessibility::ATTR_HTML_TAG).c_str());
132 EXPECT_STREQ("push", UTF16ToUTF8(button.name).c_str());
134 "inline-block", GetAttr(button, WebAccessibility::ATTR_DISPLAY).c_str());
135 ASSERT_EQ(2U, button.html_attributes.size());
136 EXPECT_STREQ("type", UTF16ToUTF8(button.html_attributes[0].first).c_str());
137 EXPECT_STREQ("button", UTF16ToUTF8(button.html_attributes[0].second).c_str());
138 EXPECT_STREQ("value", UTF16ToUTF8(button.html_attributes[1].first).c_str());
139 EXPECT_STREQ("push", UTF16ToUTF8(button.html_attributes[1].second).c_str());
277 "<button>Button 1</button>"
279 "<!doctype html><html><body><button>Button 2</button></body></html>"
281 "<button>Button 3</button>"
293 EXPECT_STREQ("Button 1", UTF16ToUTF8(button1.name).c_str());
313 EXPECT_STREQ("Button 2", UTF16ToUTF8(button2.name).c_str());
317 EXPECT_STREQ("Button 3", UTF16ToUTF8(button3.name).c_str());