Skip to content

Commit 9831a18

Browse files
authored
(DOCSP-11896) Fixing next-gen validation issues (#322)
1 parent c030edc commit 9831a18

24 files changed

+64
-27
lines changed

source/collections.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ collection details, either:
7777

7878
.. figure:: /images/compass/select-collection.png
7979
:scale: 90%
80+
:alt: Select a collection
8081

8182
After you select a collection, |compass-short| shows you that
8283
collection's :doc:`Documents tab </documents>`. |compass-short| provides

source/connect.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ When you open |compass-short|, an initial connection dialog appears:
5151

5252
.. figure:: /images/compass/paste-connection-string.png
5353
:figwidth: 690px
54+
:alt: Connection dialog for pasting your connection string
5455

5556
|compass-short| provides two methods to connect to your deployment,
5657
either providing your deployment connection string or filling in your

source/databases.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ cluster name in the upper left corner and select the
2626

2727
.. figure:: /images/compass/database-tab.png
2828
:figwidth: 700px
29+
:alt: Database Tab
2930

3031
From this view, you can click a database name in the list to view its
3132
:doc:`collections </collections>`. Alternatively, you can view

source/documents/clone.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ documents in List, JSON, or Table view:
2727

2828
.. figure:: /images/compass/clone-doc.png
2929
:figwidth: 720px
30+
:alt: Clone button
3031

3132
.. tab:: JSON View
3233
:tabid: json
@@ -40,6 +41,7 @@ documents in List, JSON, or Table view:
4041

4142
.. figure:: /images/compass/json-view-clone.png
4243
:figwidth: 720px
44+
:alt: Clone button JSON
4345

4446
.. tab:: Table View
4547
:tabid: table-view
@@ -49,6 +51,7 @@ documents in List, JSON, or Table view:
4951

5052
.. figure:: /images/compass/table-view-clone.png
5153
:figwidth: 720px
54+
:alt: Clone button Table view
5255

5356
When you click the :guilabel:`Clone` button, |compass-short| opens the
5457
document insertion dialog with the same schema and values as the cloned
@@ -58,3 +61,4 @@ the new document. To learn more about inserting documents, see
5861

5962
.. figure:: /images/compass/clone-doc2.png
6063
:figwidth: 720px
64+
:alt: Clone view

source/documents/delete.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ documents in List, JSON, or Table view:
2424

2525
.. figure:: /images/compass/delete-doc.png
2626
:figwidth: 720px
27+
:alt: Delete button in List view
2728

2829
After you click the delete button, the document is flagged for deletion.
2930
|compass-short| asks for confirmation that you want to remove the document:
3031

3132
.. figure:: /images/compass/delete-doc2.png
3233
:figwidth: 720px
34+
:alt: Example of a request for confirmation before deleting a document
3335

3436
.. tab:: JSON View
3537
:tabid: json
@@ -43,12 +45,14 @@ documents in List, JSON, or Table view:
4345

4446
.. figure:: /images/compass/delete-doc-json.png
4547
:figwidth: 720px
48+
:alt: Delete button in JSON view
4649

4750
After you click the delete button, the document is flagged for deletion.
4851
|compass-short| asks for confirmation that you want to remove the document:
4952

5053
.. figure:: /images/compass/delete-doc-json2.png
5154
:figwidth: 720px
55+
:alt: Delete confirmation
5256

5357
.. tab:: Table View
5458
:tabid: table-view
@@ -58,12 +62,14 @@ documents in List, JSON, or Table view:
5862

5963
.. figure:: /images/compass/table-view-delete.png
6064
:figwidth: 720px
65+
:alt: Delete button Table view
6166

6267
After you click the delete button, the document is flagged for deletion.
6368
|compass-short| asks for confirmation that you want to remove the document:
6469

6570
.. figure:: /images/compass/delete-flag-table-view.png
6671
:figwidth: 720px
72+
:alt: Delete confirmation
6773

6874
Once you confirm, Compass deletes the document from the collection.
6975

source/documents/insert.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ To insert documents into your collection:
3939

4040
.. figure:: /images/compass/insert-button.png
4141
:figwidth: 590px
42+
:alt: Insert button
4243

4344
2. Select the appropriate view based on how you would like to
4445
insert documents.
@@ -52,6 +53,7 @@ To insert documents into your collection:
5253

5354
.. figure:: /images/compass/insert-document-view-select.png
5455
:figwidth: 590px
56+
:alt: Insert document in JSON view
5557

5658
.. tabs::
5759

@@ -96,6 +98,7 @@ To insert documents into your collection:
9698

9799
.. figure:: /images/compass/insert-document2.png
98100
:figwidth: 590px
101+
:alt: Insert document results
99102

100103
.. note::
101104

@@ -115,6 +118,7 @@ To insert documents into your collection:
115118

116119
.. figure:: /images/compass/insert-document-new-field.png
117120
:figwidth: 590px
121+
:alt: Insert new fields
118122

119123
Change Field Type
120124
~~~~~~~~~~~~~~~~~
@@ -124,13 +128,15 @@ To insert documents into your collection:
124128

125129
.. figure:: /images/compass/insert-document3.png
126130
:figwidth: 590px
131+
:alt: Change type
127132

128133
To change the ``_id`` field to use a custom value, change the
129134
data type from ``ObjectID`` to ``string`` and then overwrite
130135
the ``_id`` value:
131136

132137
.. figure:: /images/compass/insert-document4.png
133138
:figwidth: 590px
139+
:alt: Change type results
134140

135141
4. Click :guilabel:`Insert`.
136142

source/documents/view.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ to use:
3838
.. figure:: /images/compass/documents-view-select.png
3939
:figwidth: 700px
4040
:alt: View Selection Highlight
41+
4142

4243
|
4344

@@ -59,13 +60,14 @@ to use:
5960

6061
.. figure:: /images/compass/json-view.png
6162
:figwidth: 700px
62-
:alt: Documents JSON view
63+
:alt: Documents in JSON view
6364

6465
.. tab:: Table View
6566
:tabid: table-view
6667

6768
.. figure:: /images/compass/doc-table-view.png
6869
:figwidth: 696px
70+
:alt: Documents in Table view
6971

7072
You can reorder the table columns by clicking and dragging the
7173
column headings. Reordering the columns is a strictly cosmetic
@@ -114,6 +116,7 @@ Expand Embedded Objects and Arrays
114116

115117
.. figure:: /images/compass/table-view-expand-nested-elem.png
116118
:figwidth: 696px
119+
:alt: View nested elements in Table view
117120

118121
The following example displays the ``delays``
119122
object nested within the ``flightStats`` collection documents. The
@@ -122,6 +125,7 @@ Expand Embedded Objects and Arrays
122125

123126
.. figure:: /images/compass/doc-table-view-nested.png
124127
:figwidth: 696px
128+
:alt: Nested documents
125129

126130
To return to the original table display, click on the first tab
127131
in the Table View which displays the name of your collection.

source/faq.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ See the following screenshot for all available privacy settings options:
127127

128128
.. figure:: /images/compass/privacy-settings.png
129129
:scale: 80 %
130+
:alt: Privacy settings
130131

131132
.. note::
132133

source/includes/fact-collections-screen.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ To access the :guilabel:`Collections` screen for a database, from the
1414

1515
.. figure:: /images/compass/select-database.png
1616
:figwidth: 750px
17+
:alt: Select database

source/includes/fact-tutorial-create-store.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ which are then reflected by the component's
99
This data flow is shown in the following diagram:
1010

1111
.. figure:: /images/compass/react-diagram.png
12+
:alt: React Data Flow
1213

1314
:ref:`Stores <plugins-stores>` listen to
1415
:ref:`actions <plugins-actions>`.

source/includes/steps-create-query-via-builder.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ content: |
1010
1111
.. figure:: /images/compass/query-builder.png
1212
:figwidth: 815px
13+
:alt: Example of a created filter
1314
---
1415
title: Optional. Select multiple values.
1516
level: 4
@@ -21,6 +22,7 @@ content: |
2122
2223
.. figure:: /images/compass/query-builder3.png
2324
:figwidth: 817px
25+
:alt: Exmaple of selecting multimple values for a field
2426
2527
---
2628
title: Optional. Click on other field values to create a compound query.
@@ -32,6 +34,7 @@ content: |
3234
3335
.. figure:: /images/compass/query-builder2.png
3436
:figwidth: 817px
37+
:alt: Example of a compound query
3538
---
3639
title: Optional. Deselect a value.
3740
level: 4
@@ -42,6 +45,7 @@ content: |
4245
4346
.. figure:: /images/compass/query-builder4.png
4447
:figwidth: 740px
48+
:alt: Example of removing a value from a filter
4549
---
4650
title: Run the query
4751
level: 4

source/includes/steps-starting-compass-individual-fields.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ content: |
88
99
.. figure:: /images/compass/fill-connection-fields.png
1010
:figwidth: 690px
11+
:alt: Example of adding values to the connection fields
1112
1213
---
1314
title: Enter your connection information.
@@ -176,6 +177,7 @@ content: |
176177
177178
.. figure:: /images/compass/run-compass-as-user.png
178179
:figwidth: 500px
180+
:alt: An example of switching to a different user
179181
180182
- Use the ``runas`` command-line tool.
181183

source/includes/styles/corrections.rst

Lines changed: 0 additions & 24 deletions
This file was deleted.

source/indexes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ collection on the left hand pane and select the :guilabel:`Indexes` tab.
4949

5050
.. figure:: /images/compass/indexes-view.png
5151
:figwidth: 816px
52+
:alt: Indexes view
5253

5354
For each index, Compass displays the following information:
5455

source/install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Download and Install Compass
66

77
.. default-domain:: mongodb
88

9-
.. include:: /includes/styles/corrections.rst
109

1110
Select your operating system:
1211

@@ -193,6 +192,7 @@ Select your operating system:
193192

194193
.. figure:: /images/compass/osx-install-dialog.png
195194
:figwidth: 600px
195+
:alt: OSX installation dialog
196196

197197
#. Eject the disk image.
198198

source/performance.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ cluster name in the upper left corner and select the
2121

2222
.. figure:: /images/compass/performance-view.png
2323
:figwidth: 700px
24+
:alt: Example of cluster performance view
2425

2526
Server Stats
2627
------------
@@ -29,6 +30,7 @@ The :guilabel:`Performance` tab displays various stats:
2930

3031
.. figure:: /images/compass/performance-view-full.svg
3132
:figwidth: 720px
33+
:alt: Performance statistics example
3234

3335

3436
.. list-table::

source/query-plan.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on the left hand pane, then click :guilabel:`Explain Plan`.
2020

2121
.. figure:: /images/compass/query-plan.png
2222
:figwidth: 815px
23+
:alt: Query plan
2324

2425
Visual Tree
2526
-----------
@@ -30,6 +31,7 @@ outputs easier to understand and visualize.
3031

3132
.. figure:: /images/compass/explain-tree.png
3233
:figwidth: 808px
34+
:alt: Explain tree
3335

3436
Raw JSON
3537
--------
@@ -38,6 +40,7 @@ You can also view the explain details in raw JSON format:
3840

3941
.. figure:: /images/compass/query-plan3.png
4042
:figwidth: 785px
43+
:alt: Query plan JSON
4144

4245
To learn more about execution plans, see the
4346
:manual:`MongoDB documentation </tutorial/analyze-query-plan/>`.

source/query/favorites.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ as favorites. To view the list of queries saved as favorites, click on
1212

1313
.. figure:: /images/compass/query-history-favorite.png
1414
:figwidth: 316px
15+
:alt: Favorites
1516

1617
.. seealso::
1718

source/query/filter.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Set Query Filter
4141
.. figure:: /images/querybar/query-filter-success.png
4242
:figwidth: 600px
4343
:lightbox:
44+
:alt: Results of applying a query filter
4445

4546
.. note::
4647

source/query/limit.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ To specify the limit:
2424
.. figure:: /images/querybar/query-limit-success.png
2525
:figwidth: 600px
2626
:lightbox:
27+
:alt: Results of specifying query limit
2728

2829
Clear the Query
2930
---------------

source/query/queries.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ To view these queries:
1515
#. Click :guilabel:`Toggle Query History`.
1616

1717
.. figure:: /images/compass/query-history-view.png
18+
:figwidth: 720 px
19+
:alt: Query history view
1820

1921
.. seealso::
2022

source/query/skip.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ To specify the number of documents to skip:
2222
.. figure:: /images/querybar/query-skip-success.png
2323
:figwidth: 600px
2424
:lightbox:
25+
:alt: Results of using the Skip option
2526

2627
#. .. include:: /includes/run-query.rst
2728

0 commit comments

Comments
 (0)