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() {
|
||||
return dom.div({
|
||||
role: "presentation",
|
||||
style: this.props.style,
|
||||
className: this.props.className,
|
||||
onMouseDown: this.startDragging
|
||||
|
@ -225,6 +225,7 @@ class SplitBox extends Component {
|
||||
dom.div({
|
||||
className: endPanelControl ? "uncontrolled" : "controlled",
|
||||
style: leftPanelStyle,
|
||||
role: "presentation",
|
||||
ref: div => {
|
||||
this.startPanelContainer = div;
|
||||
}},
|
||||
@ -242,6 +243,7 @@ class SplitBox extends Component {
|
||||
dom.div({
|
||||
className: endPanelControl ? "controlled" : "uncontrolled",
|
||||
style: rightPanelStyle,
|
||||
role: "presentation",
|
||||
ref: div => {
|
||||
this.endPanelContainer = div;
|
||||
}},
|
||||
|
Loading…
Reference in New Issue
Block a user