diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am index 7bb323fdda..38c5dc1359 100644 --- a/tests/a11y/Makefile.am +++ b/tests/a11y/Makefile.am @@ -28,4 +28,5 @@ EXTRA_DIST += \ notebook.ui notebook.txt \ range.ui range.txt \ link.ui link.txt \ - text.ui text.txt + text.ui text.txt \ + tree.ui tree.txt diff --git a/tests/a11y/tree.txt b/tests/a11y/tree.txt new file mode 100644 index 0000000000..5254fc7a68 --- /dev/null +++ b/tests/a11y/tree.txt @@ -0,0 +1,252 @@ +window1 + "window" + index: 0 + state: enabled resizable sensitive showing visible + toolkit: gail + + layer: window + alpha: 1 + tree1 + "table" + parent: window1 + index: 0 + state: enabled focusable sensitive showing visible manages-descendants + toolkit: gail + + layer: widget + alpha: 1 + + selection count: 2 + selected children: 2 3 + + rows: 4 + columns: 2 + selected rows: 0 + column 0 description: Column 1 + + Column 1 + "table column header" + parent: tree1 + index: 0 + name: Column 1 + state: enabled sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Column 1 + character count: 8 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + column 1 description: Column 2 + + Column 2 + "table column header" + parent: tree1 + index: 1 + name: Column 2 + state: enabled sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Column 2 + character count: 8 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + Column 1 + "table column header" + parent: tree1 + index: 0 + name: Column 1 + state: enabled sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Column 1 + character count: 8 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + Column 2 + "table column header" + parent: tree1 + index: 1 + name: Column 2 + state: enabled sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Column 2 + character count: 8 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + One + "table cell" + parent: tree1 + index: 2 + name: One + state: enabled focusable focused selectable selected sensitive single-line transient visible + + layer: widget + alpha: 1 + + text: One + character count: 3 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + action 0 name: activate + action 0 description: activate the cell + Two + "table cell" + parent: tree1 + index: 3 + name: Two + state: enabled focusable selectable selected sensitive showing single-line transient visible + + layer: widget + alpha: 1 + + text: Two + character count: 3 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + action 0 name: activate + action 0 description: activate the cell + Three + "table cell" + parent: tree1 + index: 4 + name: Three + state: enabled focusable selectable sensitive single-line transient visible + + layer: widget + alpha: 1 + + text: Three + character count: 5 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + action 0 name: activate + action 0 description: activate the cell + Four + "table cell" + parent: tree1 + index: 5 + name: Four + state: enabled focusable selectable sensitive showing single-line transient visible + + layer: widget + alpha: 1 + + text: Four + character count: 4 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + action 0 name: activate + action 0 description: activate the cell + Five + "table cell" + parent: tree1 + index: 6 + name: Five + state: enabled focusable selectable sensitive single-line transient visible + + layer: widget + alpha: 1 + + text: Five + character count: 4 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + action 0 name: activate + action 0 description: activate the cell + Six + "table cell" + parent: tree1 + index: 7 + name: Six + state: enabled focusable selectable sensitive showing single-line transient visible + + layer: widget + alpha: 1 + + text: Six + character count: 3 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + action 0 name: activate + action 0 description: activate the cell + Seven + "table cell" + parent: tree1 + index: 8 + name: Seven + state: enabled focusable selectable sensitive single-line transient visible + + layer: widget + alpha: 1 + + text: Seven + character count: 5 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + action 0 name: activate + action 0 description: activate the cell + Eight + "table cell" + parent: tree1 + index: 9 + name: Eight + state: enabled focusable selectable sensitive showing single-line transient visible + + layer: widget + alpha: 1 + + text: Eight + character count: 5 + caret offset: 0 + default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size: weight: family-name: stretch: variant: style: language: direction: + + action 0 name: activate + action 0 description: activate the cell diff --git a/tests/a11y/tree.ui b/tests/a11y/tree.ui new file mode 100644 index 0000000000..ea7f65b06f --- /dev/null +++ b/tests/a11y/tree.ui @@ -0,0 +1,50 @@ + + + + + + + + + + OneTwo + ThreeFour + FiveSix + SevenEight + + + + False + popup + + + True + liststore1 + + + Column 1 + + + + + 0 + + + + + + + Column 2 + + + + + 1 + + + + + + + +