mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure images in the docs have alt tags for screen readers. Fixes #2903
This commit is contained in:
committed by
Dave Page
parent
8b3aecd137
commit
b78b97d89b
@@ -6,9 +6,10 @@ The Primary key Dialog
|
||||
|
||||
Use the *Primary key* dialog to create or modify a primary key constraint. A primary key constraint indicates that a column, or group of columns, uniquely identifies rows in a table. This requires that the values in the selected column(s) be both unique and not null.
|
||||
|
||||
The *Primary key* dialog organizes the development of a primary key constraint through the *General* and *Definition* tabs. The *SQL* tab displays the SQL code generated by dialog selections.
|
||||
The *Primary key* dialog organizes the development of a primary key constraint through the *General* and *Definition* tabs. The *SQL* tab displays the SQL code generated by dialog selections.
|
||||
|
||||
.. image:: images/primary_key_general.png
|
||||
:alt: Primary key dialog general tab
|
||||
|
||||
Use the fields in the *General* tab to identify the primary key:
|
||||
|
||||
@@ -17,6 +18,7 @@ Use the fields in the *General* tab to identify the primary key:
|
||||
Click the *Definition* tab to continue.
|
||||
|
||||
.. image:: images/primary_key_definition.png
|
||||
:alt: Primary key dialog definition tab
|
||||
|
||||
Use the fields in the *Definition* tab to define the primary key constraint:
|
||||
|
||||
@@ -29,17 +31,18 @@ Use the fields in the *Definition* tab to define the primary key constraint:
|
||||
|
||||
Click the *SQL* tab to continue.
|
||||
|
||||
Your entries in the *Primary key* dialog generate a SQL command (see an example below). Use the *SQL* tab for review; revisit or switch tabs to make any changes to the SQL command.
|
||||
Your entries in the *Primary key* dialog generate a SQL command (see an example below). Use the *SQL* tab for review; revisit or switch tabs to make any changes to the SQL command.
|
||||
|
||||
**Example**
|
||||
|
||||
The following is an example of the sql command generated by user selections in the *Primary key* dialog:
|
||||
The following is an example of the sql command generated by user selections in the *Primary key* dialog:
|
||||
|
||||
.. image:: images/primary_key_sql.png
|
||||
:alt: Primary key dialog sql tab
|
||||
|
||||
The example shown demonstrates creating a primary key constraint named *dept_pkey* on the *dept_id* column of the *dept* table.
|
||||
|
||||
|
||||
|
||||
* Click the *Info* button (i) to access online help. View context-sensitive help in the *Tabbed browser*, where a new tab displays the PostgreSQL core documentation.
|
||||
* Click the *Save* button to save work.
|
||||
* Click the *Cancel* button to exit without saving work.
|
||||
|
||||
Reference in New Issue
Block a user