WordPress / Documentation-Issue-Tracker

Issue Tracker for the WordPress Documentation team.
https://make.wordpress.org/docs/
Other
77 stars 39 forks source link

[HelpHub][6.4][ALT]: Site Editor > Templates #1280

Open zzap opened 10 months ago

zzap commented 10 months ago

Article: https://wordpress.org/documentation/article/template-editor/

Task

Check if all images have ALT attributes.

Directions

Resources

  1. Read about checking ALT attributes: Checking image ALT attributes
  2. Watch the video on how to check if the image has ALT attributes - Checking image ALT attributes

Automation

Thank you for contributing, have a cookie :cookie:

github-actions[bot] commented 10 months ago

Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

lumumbapl commented 6 months ago

/assign

github-actions[bot] commented 6 months ago

Hey @lumumbapl, thanks for your interest in this issue! 🍪🍪🍪
If you have any questions, do not hesitate to ask them in our #docs Slack channel.
Enjoy and happy contributing ❤️

lumumbapl commented 6 months ago

The following images do not have ALT attributes:

Text above the first image:

This opens the Template Editor and takes you to the template editing mode where you can make changes to the selected template. To go back to the WordPress Block Editor and continue making content changes, click the Back link in the top panel of the editor.

Screenshot-2023-08-08-at-1 51 55-pm-1536x870

Text above the second image:

Click Create to open the Template Editor and go to the template editing mode where you can build the custom template using blocks. To go back to the WordPress Block Editor and continue making content changes, click the Back link at the top left corner.

Screenshot-2023-08-08-at-1 51 55-pm-1536x870 (1)

Text above the third image:

Click the + button in the top right corner of the sidebar to the optional types of new templates you can add to your site.

add_template-1536x867

Text above the 4th image:

If you already added a template from the Template Editor (for eg: Front Page), it will not display that template name (in this case, Front Page) in the drop-down menu, when you try to add a new template.

add_template_2-1536x870

Text above the 5th image:

You can select a specific page to apply the template. Once you select the page, you are taken to the Template Editor where you can design the layout of the template.

Screenshot-2023-08-08-at-2 35 51-pm-1536x869

Text above the 6th image:

To create a custom category template, select Category from the drop-down menu, after you choose to add a new template. A new dialog will appear with two choices:

Screenshot-2023-08-08-at-2 37 16-pm-1536x874

Text above the 7th image:

Category – for creating a custom template for an individual category. Selecting this option will open a new dialog listing all the categories on your site. . If your site has more than 10 Categories, the dialog box will also show a Search box and you can search by the Category name to find the one you are looking for.

Screenshot-2023-08-08-at-2 40 36-pm-1536x870

Text above the image:

To create a custom author template, select Author from the drop-down menu, after you click on the Add New button in the Template Editor. This will open up a dialog where you can choose between creating one template for all the authors (All Authors) or a specific template for a certain author(Author). If you choose a specific template for an author, you will be prompted to choose from the list of authors on your site.

Screenshot-2023-08-08-at-2 42 15-pm-1024x577

Screenshot-2023-08-08-at-2 42 27-pm-1536x865

Text above the images:

To create a post-specific template, select Single item:Post from the drop-down menu after you choose to add a new template. This will open up a dialog where you can choose between creating one template for all the Posts (All Posts) or a specific template for a certain Post (Post). If you choose a specific template for a Post, you will be prompted to choose from the list of Posts on your site.

Screenshot-2023-08-08-at-2 44 32-pm-1536x866

Screenshot-2023-08-08-at-2 44 45-pm-1536x872

Text above the image:

For eg: to create a custom archive template for a specific custom post type eg: Testimonial, select Archive: Testimonial from the drop-down menu, after you choose to add a new template. This will open the Template Editor pre-populated with the content of the Custom Post Type. This means you would be presented with content already in the template rather than starting from scratch. You can design the layout further by adding or removing blocks from the template.

Screenshot-2023-08-08-at-4 19 51-pm-1536x870

Text above the image:

To create a single template for a single item in the Custom Post Type eg: Testimonials, select Single item: Testimonial from the drop-down menu, after you choose to add a new template. A new dialog will appear with two choices:

Screenshot-2023-08-08-at-4 17 53-pm-1-1536x868

Text above the image:

Testimonial: for creating a single template for an individual item in the Custom Post Type (in this example Testimonial). Selecting this option will open a new dialog listing all the items on your site for that Custom Post Type (in this example Testimonial). Once you make your choice between All or Single Item for the Custom Post Type you will be taken to the Template Editor, where you can design the layout of the template.

Screenshot-2023-08-08-at-4 18 06-pm-1536x870

Text above the image:

To create a custom template, select Custom Template from the drop-down menu, after you choose to add a new template. In the dialog that appears, give a name for the new custom template and click Create. Make sure the name describes the template eg: Post with sidebar.

Screenshot-2023-08-08-at-4 23 58-pm-1536x873

Text above the image:

In the dialog that appears, give a name for the new custom template and click Create. Make sure the name describes the template eg: Post with sidebar.

Screenshot-2023-08-08-at-4 26 57-pm-1536x870

Text above the images:

You can see whether a template has been customized in 2 locations.

In the detail view you will see an additional ‘customized’ label on templates with customizations. When viewing the details of the template you will see a note indicating when the template was last updated, at the bottom of the details column.

Screenshot-2023-08-08-at-5 26 28-pm-1536x112

Screenshot-2023-08-08-at-5 26 14-pm-1536x871

Text above the image:

Click the the three-dot menu icon near the template name which opens a drop-down menu. Click Clear customizations in the drop-down menu. Note that this option only appears if customizations have been done and saved. You will see a message at the bottom left corner of the window Template reverted.

Screenshot-2023-08-08-at-5 35 49-pm-1536x869

Text above the image:

Click the three-dot menu icon to open a drop-down menu and select Clear customizations. This will reset the template to the default state and you will lose the changes you made to that template.

Screenshot-2023-08-08-at-5 37 57-pm-1536x867

Text above the text:

Click the three-dot menu icon in the Template settings sidebar. This will open a drop-down menu. Select Clear customizations. This will reset the template to the default state and you will lose the changes you made to that template. You will see a message at the bottom left corner of the window Template reverted.

Screenshot-2023-08-08-at-5 40 13-pm-1536x872

lumumbapl commented 6 months ago

This issue is ready for review.

lumumbapl commented 6 months ago

/review