shopifyÊÐËÁÎªÌØÊâÈËȺÌṩµÄÎı¾¿É»á¼ûÐÔ¹¦Ð§
Ä£°åµÄ¿É»á¼ûÐÔ
×Ô½ç˵ģ°åʱ£¬£¬£¬£¬£¬×îºÃÑ¡ÔñÓÐÖúÓÚ¼á³ÖÔÚÏßÊÐËÁ¿É»á¼ûÐÔµÄÉè¼ÆºÍÄÚÈÝ¡£¡£¡£¡£¡£¡£¡£Éè¼ÆÒ×ÓÚ»á¼ûµÄÍøÕ¾£¬£¬£¬£¬£¬ÒÔ±ãÿСÎÒ˽¼Ò¶¼¿ÉÒÔʹÓøÃÍøÕ¾£¬£¬£¬£¬£¬°üÀ¨²Ð¼²ÈË¡£¡£¡£¡£¡£¡£¡£ÄúµÄÔÚÏßÊÐËÁµÄ¿É»á¼ûÐÔ¹ØÓÚΪÄúµÄ¿Í»§ÌṩÈÝÄÉÐÔÌåÑéÖÁ¹ØÖ÷Òª¡£¡£¡£¡£¡£¡£¡£
½¨ÉèÒÔÏÂÖ¸ÄÏʱ³ä·Ö˼Á¿ÁË Web ÄÚÈݿɻá¼ûÐÔÖ¸ÄÏ (WCAG)¡£¡£¡£¡£¡£¡£¡£ÓÉÓÚ½¨ÉèÒ×ÓÚ»á¼ûµÄÍøÕ¾Ê±ÐèҪ˼Á¿Ðí¶àÒòËØ£¬£¬£¬£¬£¬Òò´Ë½ö×ñÕÕÒÔÏÂÖ¸µ¼ÔÔò²¢²»¿É°ü¹ÜÄúµÄÔÚÏßÊÐËÁÍêÈ«¿É»á¼û¡£¡£¡£¡£¡£¡£¡£Äú¿ÉÒÔ»á¼û WCAG ÍøÕ¾»òÉó²éÏÂÃæÁгöµÄ×ÊÔ´£¬£¬£¬£¬£¬ÒÔ±ãÏàʶÓÐ¹Ø Web ¿É»á¼ûÐÔµÄÏêϸÐÅÏ¢¡£¡£¡£¡£¡£¡£¡£
ÌáÐÑ£ºÈôÊÇÄúÊÇ¿ª·¢Ö°Ô±£¬£¬£¬£¬£¬Äú¿ÉÒÔʹÓà Shopify ¹¤¾ßºÍ×î¼Ñ×ö·¨À´½øÒ»²½ÓÅ»¯ÄúµÄÄ£°åµÄ¿É»á¼ûÐÔ¡£¡£¡£¡£¡£¡£¡£ÔÚ Shopify.dev Ïàʶ¸ü¶àÐÅÏ¢¡£¡£¡£¡£¡£¡£¡£
Îı¾¿É»á¼ûÐÔ
ÔÚÏßÊÐËÁÉϵÄÎı¾±ØÐè±ãÓÚÊÓ¾õÕϰÈËÊ¿»òÄÑÒÔÔĶÁ÷缯¶ÎÂäµÄÈËÊ¿ÔĶÁ¡£¡£¡£¡£¡£¡£¡£
ÑÕÉ«±ÈÕÕ
±à¼ÔÚÏßÊÐËÁµÄÑÕɫʱ£¬£¬£¬£¬£¬ÇëÈ·±£ËùÓÐÎı¾¶¼¿É¹©É«Ã¤»òÓÐÆäËûÊÓ¾õÕϰµÄ¿Í»§Éó²é¡£¡£¡£¡£¡£¡£¡£ÕâЩ¿Í»§ÒÀÀµÏÊÃ÷µÄÑÕÉ«±ÈÕÕÀ´ÔÚÊÓ¾õÉÏÇø·Ö²î±ðÄÚÈÝ¡£¡£¡£¡£¡£¡£¡£Äú¿ÉÒÔʹÓÃÔÚÏß±ÈÕÕÂʹ¤¾ßÀ´¼ì²éÊÐËÁ²î±ð²¿·ÖµÄ±ÈÕÕ¶È¡£¡£¡£¡£¡£¡£¡£
ÔÚÒÔÏÂʾÀýÖУ¬£¬£¬£¬£¬Îı¾ÓëÅä¾°µÄ±ÈÕÕ¶ÈΪ 2.4:1£¬£¬£¬£¬£¬¹ØÓÚijЩ¿Í»§À´ËµÄÑÒÔÔĶÁ¡£¡£¡£¡£¡£¡£¡£
ÔÚÏÂÒ»¸öʾÀýÖУ¬£¬£¬£¬£¬Îı¾ÓëÅä¾°µÄ±ÈÕÕ¶ÈΪ 4.8:1£¬£¬£¬£¬£¬¹ØÓÚÐí¶à¿Í»§À´Ëµ¸üÒ×ÓÚÔĶÁ¡£¡£¡£¡£¡£¡£¡£
²âÊÔËùÓÐÎı¾µÄ±ÈÕÕ¶È£¬£¬£¬£¬£¬°üÀ¨ÕýÎÄ¡¢ÎÊÌâ¡¢Á´½ÓºÍ±íµ¥×ֶΡ£¡£¡£¡£¡£¡£¡£ÇëÆ¾Ö¤ÒÔÏÂ×¼Ôò¾ÙÐУº
ÕýÎÄÎı¾ºÍ°´Å¥Îı¾µÄÑÕÉ«ÓëÅä¾°µÄ±ÈÕÕ¶ÈÖÁÉÙΪ 4.5:1¡£¡£¡£¡£¡£¡£¡£
ÎÊÌâºÍÆäËû´óÎı¾£¨×ÖÌå¾ÞϸΪ 24 px ¼°ÒÔÉÏ£©µÄÑÕÉ«ÓëÅä¾°µÄ±ÈÕÕ¶ÈÖÁÉÙΪ 3:1¡£¡£¡£¡£¡£¡£¡£
ͼƬÉÏ£¨°üÀ¨»ÃµÆÆ¬¡¢ºá·ùºÍÊÓÆµ£©ËùÓÐÎı¾µÄÑÕÉ«¶¼ÓëÅä¾°ÓÐ×ã¹»µÄ±ÈÕÕ¶È¡£¡£¡£¡£¡£¡£¡£¹ØÓÚ´óÎı¾£¨×ÖÌå¾ÞϸΪ 24 px ¼°ÒÔÉÏ£©£¬£¬£¬£¬£¬±ÈÕÕ¶ÈÖÁÉÙӦΪ 3:1¡£¡£¡£¡£¡£¡£¡£¹ØÓÚ¸üСµÄÎı¾£¬£¬£¬£¬£¬±ÈÕÕ¶ÈÖÁÉÙӦΪ 4.5:1¡£¡£¡£¡£¡£¡£¡£
·ÇÎı¾ÔªËØ£¨°üÀ¨ÊäÈë±ß¿òºÍͼ±ê£©µÄÑÕÉ«ÓëÅä¾°µÄ±ÈÕÕ¶ÈÖÁÉÙӦΪ 3:1¡£¡£¡£¡£¡£¡£¡£
ÌáÐÑ£ºÔÚijЩģ°åÖУ¬£¬£¬£¬£¬Äú¿ÉÒÔÔÚÎı¾ºÍͼƬ֮¼ä°²ÅÅÒ»¸öÑÕÉ«µþ¼Ó²ã£¬£¬£¬£¬£¬´Ó¶øÌá¸ß±ÈÕնȺÍÎı¾µÄ¿É¶ÁÐÔ¡£¡£¡£¡£¡£¡£¡£
Îı¾ÎÊÌâ
ÈôÊÇʹÓø»Îı¾±à¼Æ÷ÏòÒ³ÃæÌí¼ÓÎÊÌ⣬£¬£¬£¬£¬ÔòÎñ±ØÊ¹Æä°´Ë³ÐòÅÅÁÐ (1 - 6)¡£¡£¡£¡£¡£¡£¡£¸¨ÖúÊÖÒÕʹÓÃÎÊÌâÀ´×ª´ïÒ³ÃæµÄ½á¹¹·½·¨¡£¡£¡£¡£¡£¡£¡£Ìø¹ý¼¶±ð£¨ÀýÈçºó¸úÎÊÌâ¼¶±ð 4 µÄÎÊÌâ¼¶±ð 2£©¿ÉÄÜ»áʹÓû§¸ÐÓ¦ÒÉÐÄ¡£¡£¡£¡£¡£¡£¡£Çë×ñÕÕÒÔÏÂ×¼Ôò£º
°´Ë³ÐòʹÓÃÎÊÌ⣬£¬£¬£¬£¬ÇëÎðÌø¹ý¼¶±ð¡£¡£¡£¡£¡£¡£¡£
Îı¾¾ÞϸºÍ¶ÔÆë·½·¨
ÔÚ±à¼ÄúÄ£°åµÄ°æÊ½ÉèÖÃʱ£¬£¬£¬£¬£¬ÇëÈ·±£ÄúµÄÎı¾×ã¹»´ó£¬£¬£¬£¬£¬Ê¹¿Í»§Äܹ»ÇáËÉÔĶÁ¡£¡£¡£¡£¡£¡£¡£
Îı¾ÖеÄ×ִʺÍ×Öĸ֮¼äµÄ¾àÀ뻹Ӧ¼á³ÖÒ»Ö£¬£¬£¬£¬£¬±ãÓÚÔĶÁ¡£¡£¡£¡£¡£¡£¡£ÔÚÏÂÃæµÄʾÀýÖУ¬£¬£¬£¬£¬Îı¾ÊÇÁ½Í·¶ÔÆëµÄ£¬£¬£¬£¬£¬ÕâʹµÃ×Ö´ÊÖ®¼äµÄ¾àÀë·×ÆçÖ¡£¡£¡£¡£¡£¡£¡£
ÔÚÏÂÒ»¸öʾÀýÖУ¬£¬£¬£¬£¬Îı¾×ó¶ÔÆë£¬£¬£¬£¬£¬Õâʹ×Ö´ÊÖ®¼äµÄ¼ä¾àÒ»Ö¡£¡£¡£¡£¡£¡£¡£
ÔÚ¶ÔÎı¾µÄ¾ÞϸºÍ¶ÔÆë·½·¨¾ÙÐÐ×Ô½ç˵ʱ£¬£¬£¬£¬£¬Çë×ñÕÕÒÔÏÂ×¼Ôò£º
ÕýÎÄÎı¾µÄ×îС×ÖºÅÏ൱ÓÚ 16 px¡£¡£¡£¡£¡£¡£¡£
Îı¾¶ÔÆë·½·¨²»µÃΪ¡°Á½Í·¶ÔÆë¡±¡£¡£¡£¡£¡£¡£¡£¡°Á½Í·¶ÔÆë¡±µÄÎı¾»áµ¼ÖÂ×Ö´ÊÖ®¼äµÄ¼ä¾à·×ÆçÖ¡£¡£¡£¡£¡£¡£¡£
±¸×¢£º×ÝȻѡÔñÏàͬµÄ×ֺţ¬£¬£¬£¬£¬²î±ðµÄ×ÖÏÏû³ÁÐÒ²¿ÉÄÜ·ºÆð²î±ð¾Þϸ¡£¡£¡£¡£¡£¡£¡£×ÖºÅÏ൱ÓÚ 16 px ʱ£¬£¬£¬£¬£¬ÈôÊÇÄúʹÓõÄ×ÖÌå¿´ÆðÀ´±ÈÆäËû×ÖÌåС£¬£¬£¬£¬£¬ÔòÇëʹÓøü´óµÄ×ֺ𣡣¡£¡£¡£¡£¡£
Îı¾Á´½Ó
µ±ÄúÌí¼ÓÖ¸ÏòÎı¾µÄÁ´½Óʱ£¬£¬£¬£¬£¬ÇëÈ·±£ËùÓпͻ§¶¼¿Éʶ±ðÕâЩÁ´½Ó¡£¡£¡£¡£¡£¡£¡£ÓÉÓÚijЩ¿Í»§ÄÑÒÔʶ±ðÉ«²Ê£¬£¬£¬£¬£¬Òò´ËÄúÎÞ·¨½öÒÀÀµ¸ü¸ÄÑÕÉ«À´Çø·ÖÁ´½ÓÓëͨÀýÎı¾¡£¡£¡£¡£¡£¡£¡£Îı¾Ó¦´øÓÐÏ»®Ïߣ¬£¬£¬£¬£¬ÒÔÊÇËü²»ÒÀÀµÓÚ¸ü¸ÄÑÕÉ«À´×ª´ïÎı¾ÊÇÒ»¸öÁ´½Ó¡£¡£¡£¡£¡£¡£¡£
ÈôÊÇÄúÒª±à¼Ä£°åµÄÑùʽ±í£¬£¬£¬£¬£¬ÇëÈ·±£Ã»ÓÐɾ³ýÎı¾Á´½ÓÑùʽ¡£¡£¡£¡£¡£¡£¡£Çë×ñÕÕÒÔÏÂ×¼Ôò£º
Îı¾Á´½ÓҪô´øÓÐÏ»®Ïߣ¬£¬£¬£¬£¬ÒªÃ´¾ßÓвî±ðÓÚͨÀýÎı¾µÄÆäËûÊÓ¾õЧ¹û¡£¡£¡£¡£¡£¡£¡£
ShopifyÉÌ»§¹ÙÍøÔÎÄÏêÇ飺
Accessibility for themes
When you customize your theme, it¡¯s a good idea to make design and content choices that help to keep your online store accessible. An accessible website is designed so that it can be used by everyone, including people with disabilities. Accessibility for your online store is essential to providing an inclusive experience for your customers.
The guidelines below were created with the Web Content Accessibility Guidelines (WCAG) in mind. Since there are many factors to consider when creating an accessible website, only following guidelines below doesn't guarantee that your online store is fully accessible. You can learn more about web accessibility by visiting the WCAG website, or by seeing the resources listed below.
Tip
If you're a developer, then you can further optimize your theme for accessibility using Shopify tools and best practices. Learn more on Shopify.dev.
Text accessibility
It's important that the text on your online store is readable for customers who are visually impaired or who have difficulty reading dense blocks of text.
Color contrast
When you edit the colors for your online store, make sure that all of your text is accessible to customers who are colorblind or otherwise visually impaired. These customers rely on adequate color contrast to visually differentiate one thing from another. You can use an online contrast ratio tool to check the contrast of the different parts of your store.
In the example below, the text has a contrast ratio of 2.4:1 against its background, and is difficult to read for some customers.
In the next example, the text has a contrast ratio of 4.8:1, and is easier to read for many customers.
Test the contrast of all text, including body text, headings, links, and form fields. Use the following guidelines:
The color of body text and button text has a contrast ratio of at least 4.5:1 against its background.
The color of headings and other large text (font size 24 px and up) has a contrast ratio of at least 3:1 against its background.
The color of all text over images, including slideshows, banners, and videos, has sufficient contrast ratios against its background. For large text (font size 24 px and up), the contrast is at least 3:1. For smaller text the contrast is at least 4.5:1.
The color of non-text elements, including input borders and icons, has a contrast ratio of at least 3:1 against its background.
Tip
In some themes, you can place a color overlay between text and an image to improve the contrast and readability of the text.
Text headings
When you add headings to your page with the rich text editor, it is important to keep them in sequential order (1 - 6). Headings are used by assistive technologies to communicate how page content is organized. Skipping over levels, such as a heading level 2 followed by a heading level 4, can be confusing to users. Use the following guideline:
Headings are used in sequential order and do not skip over levels.
Text size and alignment
When you edit your theme's typography settings, make sure that your text is large enough for customers to comfortably read.
Text should also have consistent spacing between words and letters to make it easy to read. In the example below, the text alignment is justified, which creates inconsistent spacing between words.
In the next example, the text alignment is left-aligned, which creates consistent spacing between words.
When customizing the size and alignment of text, use the following guidelines:
The minimum font size for body text is the equivalent of 16 px.
Text alignment is not justified. Justified text creates inconsistent spacing between words.
Note
Different font families can appear comparatively small or large, even if they have the same font size. If the font you're using appears smaller than other fonts do at 16 px, then use a larger size.
Text links
When you add links to your text, make sure that they can be identified by all of your customers. Because some customers have trouble seeing color, you can't rely on a change in color alone to differentiate a link from regular text. Text should be underlined so that it doesn't rely on the change in color to communicate that the text is a link.
If you edit your theme's stylesheet, then make sure that you don't remove text link styles. Use the following guideline:
Text links are either underlined or have another visual differentiator from regular text.
ÎÄÕÂÄÚÈÝȪԴ£ºShopifyÉÌ»§¹Ù·½ÍøÕ¾
ÉÏһƪ£ºShopify¿ªµêÁ÷³Ì¼°ÕË»§×¢²áȫָÄÏ
ÏÂһƪ£ºshopifyÊÐËÁ×Ô½ç˵ģ°åÖÐÓïÑÔ±à¼Æ÷¸ÅÊöÒÔ¼°ÓïÑÔ¸ü¸Ä°ì·¨
- 1ÃÀ¹úÉ̱ê×¢²áÖ¤ÅÌÎÊÖ¸ÄÏ£ºÏàʶÅÌÎÊÒªÁìÓëÖ÷ÒªÐÔ
- 2ÍøÂçÒøÐÐÓëÆ±¾ÝÖ´·¨ÖƶȵijåÍ»
- 3shopeeÂíÀ´Î÷ÑÇÔ˷ѽòÌùÕþ²ß
- 4Ñ¡Ôñ×öº£ÄÚµçÉÌÕվɿ羳µçÉÌ£¿£¿£¿£¿£¿£¿£¿
- 5Äã²»ÖªµÀµÄAMZ Seller Browser
- 6wishÉÌ»§Æ½Ì¨HUBÖÐת²ÖÏîÄ¿³£¼ûÎÊÌâ½â´ð
- 7Éî¶ÈÆÊÎöÑÇÂíÑ·¹ã¸æÏµÍ³µÄÅÅÃûºÍ¿Û·ÑÂß¼
- 8Ô½ÄϵçÉÌÉú³¤µÄ×î´óÌôÕ½:ÎïÁ÷
- 9¹ú¼ÊÌú·»õÎïÁªÔ˵ijÌÐòºÍÔË·Ñ
- 10ÔõÑù×èÖ¹ÔÚShopify·¢»õÍøÂçÖг¬Âô¿â´æ