Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
Also removing treeitem role
Browse files Browse the repository at this point in the history
  • Loading branch information
PRIYANKAR GUPTA committed Nov 22, 2018
1 parent 095f698 commit 999a5d7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions src/components/Tree/TreeTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as PropTypes from 'prop-types'
import * as React from 'react'

import { UIComponent, childrenExist, createShorthandFactory } from '../../lib'
import { treeTitleBehavior } from '../../lib/accessibility'
import { Accessibility } from '../../lib/accessibility/types'
import {
commonUIComponentPropTypes,
Expand Down Expand Up @@ -52,7 +51,6 @@ class TreeTitle extends UIComponent<TreeTitleProps> {
public static defaultProps = {
as: 'a',
href: '#',
accessibility: treeTitleBehavior as Accessibility,
}

handleClick = e => {
Expand Down
16 changes: 0 additions & 16 deletions src/lib/accessibility/Behaviors/Tree/treeTitleBehavior.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/lib/accessibility/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ export { default as popupFocusTrapBehavior } from './Behaviors/Popup/popupFocusT
export { default as chatBehavior } from './Behaviors/Chat/chatBehavior'
export { default as chatMessageBehavior } from './Behaviors/Chat/chatMessageBehavior'
export { default as gridBehavior } from './Behaviors/Grid/gridBehavior'
export { default as treeTitleBehavior } from './Behaviors/Tree/treeTitleBehavior'
export { default as dialogBehavior } from './Behaviors/Dialog/dialogBehavior'

0 comments on commit 999a5d7

Please sign in to comment.