mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
Bug 1428433 - added role 'presentation' to shared component elements that do not have any semantics. r=Honza
MozReview-Commit-ID: 6HMgKzMgk2k
This commit is contained in:
parent
f5a810e2ab
commit
d14436478f
@ -52,6 +52,7 @@ class Draggable extends Component {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return dom.div({
|
return dom.div({
|
||||||
|
role: "presentation",
|
||||||
style: this.props.style,
|
style: this.props.style,
|
||||||
className: this.props.className,
|
className: this.props.className,
|
||||||
onMouseDown: this.startDragging
|
onMouseDown: this.startDragging
|
||||||
|
@ -225,6 +225,7 @@ class SplitBox extends Component {
|
|||||||
dom.div({
|
dom.div({
|
||||||
className: endPanelControl ? "uncontrolled" : "controlled",
|
className: endPanelControl ? "uncontrolled" : "controlled",
|
||||||
style: leftPanelStyle,
|
style: leftPanelStyle,
|
||||||
|
role: "presentation",
|
||||||
ref: div => {
|
ref: div => {
|
||||||
this.startPanelContainer = div;
|
this.startPanelContainer = div;
|
||||||
}},
|
}},
|
||||||
@ -242,6 +243,7 @@ class SplitBox extends Component {
|
|||||||
dom.div({
|
dom.div({
|
||||||
className: endPanelControl ? "controlled" : "uncontrolled",
|
className: endPanelControl ? "controlled" : "uncontrolled",
|
||||||
style: rightPanelStyle,
|
style: rightPanelStyle,
|
||||||
|
role: "presentation",
|
||||||
ref: div => {
|
ref: div => {
|
||||||
this.endPanelContainer = div;
|
this.endPanelContainer = div;
|
||||||
}},
|
}},
|
||||||
|
Loading…
Reference in New Issue
Block a user