Bug 1675987 - No derogatory language: Remove references to "crazy" in accessibility module. r=eeejay

Differential Revision: https://phabricator.services.mozilla.com/D96484
This commit is contained in:
Jon Bauman 2020-11-10 00:30:00 +00:00
Родитель 2d8e80d2ae
Коммит 3eb317f0e2
10 изменённых файлов: 27 добавлений и 27 удалений

Просмотреть файл

@ -483,8 +483,8 @@ already_AddRefed<Accessible> nsAccessibilityService::CreatePluginAccessible(
# elif MOZ_ACCESSIBILITY_ATK
if (!AtkSocketAccessible::gCanEmbed) return nullptr;
// Note this calls into the plugin, so crazy things may happen and aFrame
// may go away.
// Note this calls into the plugin, so unexpected things may happen and
// aFrame may go away.
nsCString plugId;
nsresult rv = pluginInstance->GetValueFromPlugin(
NPPVpluginNativeAccessibleAtkPlugId, &plugId);

Просмотреть файл

@ -537,7 +537,7 @@ Accessible* HTMLTableAccessible::CellAt(uint32_t aRowIdx, uint32_t aColIdx) {
return CellInRowAt(cell, aColIdx);
}
// XXX bug 576838: crazy tables (like table6 in tables/test_table2.html) may
// XXX bug 576838: bizarre tables (like table6 in tables/test_table2.html) may
// return itself as a cell what makes Orca hang.
return cell == this ? nullptr : cell;
}

Просмотреть файл

@ -56,7 +56,7 @@
// ////////////////////////////////////////////////////////////////////////
// column and row headers from markup for crazy grid.
// column and row headers from markup for grid.
headerInfoMap = [
{
@ -77,7 +77,7 @@
// ////////////////////////////////////////////////////////////////////////
// column and row headers from markup for one more crazy grid.
// column and row headers from markup for one more grid.
headerInfoMap = [
{
@ -109,7 +109,7 @@
title="implement IAccessibleTable2"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=512424">Mozilla Bug 512424</a>
<a target="_blank"
title="nsHTMLTableCellAccessible is used in dojo's crazy ARIA grid"
title="nsHTMLTableCellAccessible is used in dojo's ARIA grid"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=513848">Mozilla Bug 513848</a>
<p id="display"></p>

Просмотреть файл

@ -35,7 +35,7 @@
testTableIndexes("grid-rowgroups", idxes);
// ////////////////////////////////////////////////////////////////////////
// a bit crazy ARIA grid
// a bit strange ARIA grid
idxes = [
[0, 1],
[2, 3],
@ -63,7 +63,7 @@
href="https://bugzilla.mozilla.org/show_bug.cgi?id=386813"
title="support nsIAccessibleTable on ARIA grid/treegrid">Mozilla Bug 386813</a>
<a target="_blank"
title="nsHTMLTableCellAccessible is used in dojo's crazy ARIA grid"
title="nsHTMLTableCellAccessible is used in dojo's ARIA grid"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=513848">Mozilla Bug 513848</a>
<a target="_blank"
title="ARIA grid with rowgroup breaks table row/col counting and indices"

Просмотреть файл

@ -103,7 +103,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=410052
testTableIndexes("tableinsane4", idxes);
// ////////////////////////////////////////////////////////////////////////
// tableinsane5 (just a crazy table)
// tableinsane5 (just a strange table)
idxes = [
[ 0, 1, 2, -1, -1],
[-1, -1, -1, -1, -1],
@ -144,7 +144,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=410052
// ////////////////////////////////////////////////////////////////////////
// A table with all elements being display:block, including a row group.
// This makes us fall back to the ARIAGridRowAccessible, and we must
// make sure the index is 0. Crazy example from Gmail.
// make sure the index is 0. Strange example from Gmail.
idxes = [
[0],
];
@ -375,7 +375,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=410052
</table>
<table border="1" id="tableinsane5">
<caption>just a crazy table</caption>
<caption>just a strange table</caption>
<thead>
<tr>
<th>col1</th>

Просмотреть файл

@ -39,7 +39,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=410052
testSelectTableRow("table", 0, cellsArray);
// ////////////////////////////////////////////////////////////////////////
// a bit crazy ARIA grid
// a bit strange ARIA grid
cellsArray =
[
[ false, false],
@ -80,7 +80,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=410052
title="implement nsIAccessibleTable selection methods for ARIA grids"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=410052">Bug 410052</a>
<a target="_blank"
title="nsHTMLTableCellAccessible is used in dojo's crazy ARIA grid"
title="nsHTMLTableCellAccessible is used in dojo's ARIA grid"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=513848">Bug 513848</a>
<a target="_blank"
title="ARIA columnheader/rowheader shouldn't be selectable by default"

Просмотреть файл

@ -70,7 +70,7 @@
title="implement IAccessibleTable2"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=512424">Mozilla Bug 512424</a>
<a target="_blank"
title="nsHTMLTableCellAccessible is used in dojo's crazy ARIA grid"
title="nsHTMLTableCellAccessible is used in dojo's ARIA grid"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=513848">Mozilla Bug 513848</a>
<a target="_blank"
title="Crash [@ AccIterator::GetNext()]"

Просмотреть файл

@ -31,7 +31,7 @@
testAccessibleTree("grid", accTree);
// ////////////////////////////////////////////////////////////////////////
// crazy grids (mad mix of ARIA and HTML tables)
// strange grids (mix of ARIA and HTML tables)
accTree = {
role: ROLE_TABLE,
@ -64,7 +64,7 @@
},
],
};
testAccessibleTree("crazy_grid1", accTree);
testAccessibleTree("strange_grid1", accTree);
accTree = {
role: ROLE_TABLE,
@ -92,7 +92,7 @@
},
],
};
testAccessibleTree("crazy_grid2", accTree);
testAccessibleTree("strange_grid2", accTree);
accTree = {
role: ROLE_TABLE,
@ -119,7 +119,7 @@
},
],
};
testAccessibleTree("crazy_grid3", accTree);
testAccessibleTree("strange_grid3", accTree);
accTree = {
role: ROLE_TABLE,
@ -167,7 +167,7 @@
],
};
testAccessibleTree("crazy_grid4", accTree);
testAccessibleTree("strange_grid4", accTree);
// ////////////////////////////////////////////////////////////////////////
// grids that could contain whitespace accessibles but shouldn't.
@ -216,7 +216,7 @@
</div>
</div>
<div id="crazy_grid1" role="grid">
<div id="strange_grid1" role="grid">
<div role="row">
<table role="presentation">
<caption>caption</caption>
@ -228,7 +228,7 @@
</div>
</div>
<div id="crazy_grid2" role="grid">
<div id="strange_grid2" role="grid">
<table role="presentation">
<tr role="row">
<td id="implicit_gridcell">cell1</td>
@ -237,7 +237,7 @@
</table>
</div>
<div id="crazy_grid3" role="grid">
<div id="strange_grid3" role="grid">
<div role="row">
<div role="gridcell">
<table role="presentation">
@ -249,7 +249,7 @@
</div>
</div>
<div id="crazy_grid4" role="grid">
<div id="strange_grid4" role="grid">
<div role="row">
<div role="gridcell">
<table>

Просмотреть файл

@ -27,7 +27,7 @@
testAccessibleTree("list", accTree);
// ////////////////////////////////////////////////////////////////////////
// crazy list (mad mix of ARIA and HTML)
// strange list (mix of ARIA and HTML)
accTree = { // div@role="list"
role: ROLE_LIST,
@ -55,7 +55,7 @@
],
};
testAccessibleTree("crazy_list", accTree);
testAccessibleTree("strange_list", accTree);
SimpleTest.finish();
}
@ -80,7 +80,7 @@
<div role="listitem">item1</div>
</div>
<div id="crazy_list" role="list">
<div id="strange_list" role="list">
<ul role="presentation">
<li>item1</li>
<li role="listitem">item2</li>

Просмотреть файл

@ -252,7 +252,7 @@
// ///////////////////////////////////////////////////////////////////////
// A table with all elements being display:block, including a row group.
// This makes us fall back to the ARIAGridRowAccessible.
// Crazy example from Gmail.
// Strange example from Gmail.
accTree =
{ TABLE: [
{ ROW: [