Bug 1272364 - [rep] Remove role presentation to let vision inpaired hear it. r=linclark

MozReview-Commit-ID: DKfnNWs0n8W

--HG--
extra : rebase_source : d9dc5f2a8facb19b1a77cea717fa0f626a9b8ff5
This commit is contained in:
Fred Lin 2016-08-30 15:34:12 +08:00
parent 566b9463d8
commit 9a7c7d0ab3
5 changed files with 4 additions and 17 deletions

View File

@ -139,13 +139,11 @@ define(function (require, exports, module) {
className: "objectBox objectBox-array"},
objectLink({
className: "arrayLeftBracket",
role: "presentation",
object: object
}, brackets.left),
items,
objectLink({
className: "arrayRightBracket",
role: "presentation",
object: object
}, brackets.right),
DOM.span({

View File

@ -127,13 +127,11 @@ define(function (require, exports, module) {
title,
objectLink({
className: "arrayLeftBracket",
role: "presentation",
object: object
}, brackets.left),
items,
objectLink({
className: "arrayRightBracket",
role: "presentation",
object: object
}, brackets.right),
span({

View File

@ -177,7 +177,6 @@ define(function (require, exports, module) {
this.getTitle(object),
objectLink({
className: "objectLeftBrace",
role: "presentation",
object: object
}, "")
)
@ -189,13 +188,11 @@ define(function (require, exports, module) {
this.getTitle(object),
objectLink({
className: "objectLeftBrace",
role: "presentation",
object: object
}, " { "),
props,
objectLink({
className: "objectRightBrace",
role: "presentation",
object: object
}, " }")
)

View File

@ -149,13 +149,11 @@ define(function (require, exports, module) {
this.getTitle(object),
objectLink({
className: "objectLeftBrace",
role: "presentation",
object: object
}, " { "),
props,
objectLink({
className: "objectRightBrace",
role: "presentation",
object: object
}, " }")
)

View File

@ -37,16 +37,12 @@ define(function (require, exports, module) {
"className": "nodeName"},
this.props.name),
span({
"className": "objectEqual",
role: "presentation"},
this.props.equal
),
"className": "objectEqual"
}, this.props.equal),
Rep(this.props),
span({
"className": "objectComma",
role: "presentation"},
this.props.delim
)
"className": "objectComma"
}, this.props.delim)
)
);
}