forked from ckeditor/ckeditor4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add manual tests for disabled and custom labels.
- Loading branch information
1 parent
413ee6e
commit 33bfdbe
Showing
12 changed files
with
213 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div id="foo" contenteditable="true"> | ||
<p>Lorem ipsum dolor sit amet</p> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.inline( 'foo', { | ||
language: 'en', | ||
title: 'Horse', | ||
applicationTitle: 'Mouse' | ||
} ); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@bender-tags: bug, 4.19.0, 2445 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: toolbar, wysiwygarea, basicstyles, floatingspace | ||
|
||
**Note** This test is intended to be used with a screen reader. | ||
|
||
1. Focus the editor. | ||
|
||
**Expected** The editor is correctly announced ("Horse"). | ||
|
||
**Unexpected** The editor is incorrectly announced or not announced at all. | ||
1. Press <kbd>Alt</kbd>+<kbd>F10</kbd> to focus the toolbar. | ||
|
||
**Expected** The toolbar is correctly announced (first button info followed by "Mouse"). | ||
|
||
**Unexpected** The info about the editor is not included in the announcement. |
10 changes: 10 additions & 0 deletions
10
tests/core/creators/manual/inlinedisabledapplicationlabels.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div id="foo" contenteditable="true"> | ||
<p>Lorem ipsum dolor sit amet</p> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.inline( 'foo', { | ||
language: 'en', | ||
applicationTitle: false | ||
} ); | ||
</script> |
16 changes: 16 additions & 0 deletions
16
tests/core/creators/manual/inlinedisabledapplicationlabels.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@bender-tags: bug, 4.19.0, 2445 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: toolbar, wysiwygarea, basicstyles, floatingspace | ||
|
||
**Note** This test is intended to be used with a screen reader. | ||
|
||
1. Focus the editor. | ||
|
||
**Expected** The editor is correctly announced ("Editor foo"). | ||
|
||
**Unexpected** The editor is incorrectly announced or not announced at all. | ||
1. Press <kbd>Alt</kbd>+<kbd>F10</kbd> to focus the toolbar. | ||
|
||
**Expected** The toolbar and the first button are announced. | ||
|
||
**Unexpected** The info about the editor is included in the announcement ("Rich Text Editor foo"). |
10 changes: 10 additions & 0 deletions
10
tests/core/creators/manual/inlinedisablededitorlabels.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div id="foo" contenteditable="true"> | ||
<p>Lorem ipsum dolor sit amet</p> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.inline( 'foo', { | ||
language: 'en', | ||
title: false | ||
} ); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@bender-tags: bug, 4.19.0, 2445 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: toolbar, wysiwygarea, basicstyles, floatingspace | ||
|
||
**Note** This test is intended to be used with a screen reader. | ||
|
||
1. Focus the editor. | ||
|
||
**Expected** The editor is announced as the generic text input. | ||
|
||
**Unexpected** The editor's name is announced ("Editor foo"). | ||
1. Press <kbd>Alt</kbd>+<kbd>F10</kbd> to focus the toolbar. | ||
|
||
**Expected** The toolbar is correctly announced (first button info followed by "Rich Text Editor foo"). | ||
|
||
**Unexpected** The info about the editor is not included in the announcement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<h2><code>Iframe</code>-based</h2> | ||
<div id="wysiwygarea"> | ||
<p>Lorem ipsum dolor sit amet</p> | ||
</div> | ||
|
||
<h2><code>Div</code>-based</h2> | ||
<div id="divarea"> | ||
<p>Lorem ipsum dolor sit amet</p> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.replace( 'wysiwygarea', { | ||
language: 'en', | ||
title: 'Horse', | ||
applicationTitle: 'Mouse' | ||
} ); | ||
CKEDITOR.replace( 'divarea', { | ||
extraPlugins: 'divarea', | ||
language: 'en', | ||
title: 'Donkey', | ||
applicationTitle: 'Snake' | ||
} ); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@bender-tags: bug, 4.19.0, 2445 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: toolbar, wysiwygarea, basicstyles, floatingspace | ||
|
||
**Note** This test is intended to be used with a screen reader. | ||
|
||
1. Focus the editor. | ||
|
||
**Expected** The editor is correctly announced. | ||
|
||
**Unexpected** The editor is incorrectly announced or not announced at all. | ||
|
||
Sample announcements for the `iframe`-based editor: | ||
|
||
* VoiceOver+Chrome: "Horse edit text, <content and selection info>. Horse, group" | ||
* NVDA+Firefox: "Mouse, Horse frame, Horse document editable" | ||
* JAWS+Firefox: "Mouse, Horse frame, Horse edit <content> type and text" | ||
|
||
Sample announcements for the `div`-based editor: | ||
|
||
* VoiceOver+Chrome: "Donkey edit text <content>. Snake, application." | ||
* NVDA+Firefox: "Snake, Donkey edit multi line" | ||
* JAWS+Firefox: "Snake, Donkey edit, contains text, type and text" |
21 changes: 21 additions & 0 deletions
21
tests/core/creators/manual/themeduidisabledapplicationlabels.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<h2><code>Iframe</code>-based</h2> | ||
<div id="wysiwygarea"> | ||
<p>Lorem ipsum dolor sit amet</p> | ||
</div> | ||
|
||
<h2><code>Div</code>-based</h2> | ||
<div id="divarea"> | ||
<p>Lorem ipsum dolor sit amet</p> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.replace( 'wysiwygarea', { | ||
language: 'en', | ||
applicationTitle: false | ||
} ); | ||
CKEDITOR.replace( 'divarea', { | ||
extraPlugins: 'divarea', | ||
language: 'en', | ||
applicationTitle: false | ||
} ); | ||
</script> |
23 changes: 23 additions & 0 deletions
23
tests/core/creators/manual/themeduidisabledapplicationlabels.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@bender-tags: bug, 4.19.0, 2445 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: toolbar, wysiwygarea, basicstyles, floatingspace | ||
|
||
**Note** This test is intended to be used with a screen reader. | ||
|
||
1. Focus the editor. | ||
|
||
**Expected** The editor is correctly announced. | ||
|
||
**Unexpected** The editor is incorrectly announced or not announced at all. | ||
|
||
Sample announcements for the `iframe`-based editor: | ||
|
||
* VoiceOver+Chrome: "Editor, wysiwygarea edit text, <content and selection info>. Editor, wysiwygarea, group" | ||
* NVDA+Firefox: "application, Editor, wysiwygarea frame, Editor, wysiwygarea document editable" | ||
* JAWS+Firefox: "Editor, wysiwygarea frame, editor, wysiwygarea edit <content> type and text" | ||
|
||
Sample announcements for the `div`-based editor: | ||
|
||
* VoiceOver+Chrome: "Editor, divarea edit text <content>. Application." | ||
* NVDA+Firefox: "application, Editor, divarea edit multi line" | ||
* JAWS+Firefox: "Editor, divarea edit, contains text, type and text" |
21 changes: 21 additions & 0 deletions
21
tests/core/creators/manual/themeduidisablededitorlabels.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<h2><code>Iframe</code>-based</h2> | ||
<div id="wysiwygarea"> | ||
<p>Lorem ipsum dolor sit amet</p> | ||
</div> | ||
|
||
<h2><code>Div</code>-based</h2> | ||
<div id="divarea"> | ||
<p>Lorem ipsum dolor sit amet</p> | ||
</div> | ||
|
||
<script> | ||
CKEDITOR.replace( 'wysiwygarea', { | ||
language: 'en', | ||
title: false | ||
} ); | ||
CKEDITOR.replace( 'divarea', { | ||
extraPlugins: 'divarea', | ||
language: 'en', | ||
title: false | ||
} ); | ||
</script> |
23 changes: 23 additions & 0 deletions
23
tests/core/creators/manual/themeduidisablededitorlabels.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@bender-tags: bug, 4.19.0, 2445 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: toolbar, wysiwygarea, basicstyles, floatingspace | ||
|
||
**Note** This test is intended to be used with a screen reader. | ||
|
||
1. Focus the editor. | ||
|
||
**Expected** The editor is correctly announced. | ||
|
||
**Unexpected** The editor is incorrectly announced or not announced at all. | ||
|
||
Sample announcements for the `iframe`-based editor: | ||
|
||
* VoiceOver+Chrome: "Frame. edit text. <content and selection info>" | ||
* NVDA+Firefox: "Rich Text Editor, wysiwygarea, null document editable" | ||
* JAWS+Firefox: "Rich Text Editor, wysiwygarea, frame, null edit <content> type and text" | ||
|
||
Sample announcements for the `div`-based editor: | ||
|
||
* VoiceOver+Chrome: "edit text <content>. Rich Text Editor, divarea, application." | ||
* NVDA+Firefox: "Rich Text Editor, divarea, edit multi line" | ||
* JAWS+Firefox: "Rich Text Editor, divarea, edit, contains text, type and text" |