SlideShare uma empresa Scribd logo
1 de 61
Tips
voor toegankelijke
WordPress-sites
(Paul van Buuren –
Rotterdam, 20 juni 2016)
Paul van Buuren
• @paulvanbuuren
• 1998
• 2007
• Accessibility
• Interactie ontwerp
• Freelance
Stukje publieksparticipatie
Een
website…
It's Easy
M'kay?
Gebruikers
(dus niet: bezoekers)
Soorten gebruikers (1)
• Beginnelingen
Soorten gebruikers (2)
• Gevorderde gebruikers
Soorten gebruikers (3)
• De make-up artists
Soorten gebruikers (3)
• Betweters
?
?
Voor elke gebruiker:
Voor beginnelingen
• De basics
• IRL
• WP-rol: author
• Herhalen
• Herhalen
• En nog eens herhalen
Voor gevorderde gebruikers
• Video
• Ruimte voor experiment
• WP-rol: editor / administrator
Voor make-up artists
• Gek op vormgeving
• Foto’s
• Structuur en beperking
• Heel nuttig woord voor hen:
Voor betweters
• “Iets heel simpels”
• Structuur
• Speeltuin
• WP-rol: editor / administrator
Toegankelijkheid
• Waarneembaar
• Bedienbaar
• Begrijpelijk
• Robuust
See: Introduction to Understanding WCAG 2.0
Developers:
Check:
"An Alphabet of
Accessibility Issues"
Content
creators:
Check ook:
"An Alphabet of
Accessibility Issues"
En betweters..
Voor jou zeker:
"An Alphabet of
Accessibility Issues"
Aandachtspunten en
tips
Leesniveau, structuur, links, images, animaties,
Leesniveau
https://www.accessibility.nl/kennisbank/tools/leesniveau-tool/leesniveaus
Leesniveau
Taalniveau B1:
• duidelijke titel en tussenkoppen;
• actieve schrijfstijl met voorbeelden;
• eenvoudige woorden die iedereen kent;
• korte en duidelijke zinnen.
Paginastructuur
Paginastructuur
Paginastructuur
Paginastructuur
Hack de editor
Standaard WYSIWYG editor
Tip 1: herkenbare fonts
add_action('admin_head', 'my_custom_fonts');
function my_custom_fonts() {
echo '<style> body, td, textarea,
input, select {
font-family: "Lucida Grande";
font-size: 12px;
} </style>';
}
Tip 2: een stylesheet voor de editor
add_action('init', 'my_theme_add_editor_styles');
function my_theme_add_editor_styles () {
add_editor_style( 'css/editor-style.css' );
}
Filter
add_filter('tiny_mce_before_init',
'admin_set_tinymce_options');
[…]
https://codex.wordpress.org/Plugin_API/Filter_Reference/tiny_mce_before_init
Tip 3: weg met H1
function admin_set_tinymce_options(
$settings ) {
$settings['theme_advanced_blockformats
'] = 'p,h2,h3,h4,h5,h6,q,hr';
[...]
}
Tip 4: weg met onnodige opties
function admin_set_tinymce_options(
$settings ) {
[...]
$settings['theme_advanced_disable'] =
'underline,forecolor,justifyfull';
[...]
}
Tip 5: slechts 1 optiebalk
function admin_set_tinymce_options(
$settings ) {
[...]
$settings['toolbar1'] =
'italic,|,bullist,numlist,blockquote,|,lin
k,unlink,|,spellchecker,|,formatselect,sty
leselect,paste,removeformat,cleanup,|,undo
,redo,hr,fullscreen'; [...] }
Tip 5: slechts 1 optiebalk
function admin_set_tinymce_options(
$settings ) {
[...]
$settings['toolbar2'] = '';
[...]
}
Tip 6: pas de editor aan:
beschrijvingen
function admin_set_tinymce_options(
$settings ) {
[...]
$settings[block_formats'] = ’Header H2
=h2;Header H3=h3;Header
H4=h4;Paragraph=p;Quote=q';
[...]
}
Tip 7: extra opmaakmogelijkheden
function admin_set_tinymce_options(
$settings ) {
$settings[style_formats'] = '[
{title: "Streamer", block: "aside",
classes: "pullquote"},
{title: "Infoblok", block: "div", classes:
"infoblock"}]';
[...]
}
Voor & na
Voor & na
Handige plugin
Bij tip 2: waarschuwing in de CSS
span[style="color: #800080;"],
span[style="color: #880080"] {
&, a {
color: red !important;
background: black;
}
&:before {
content: 'Achtung baby!!! You are doing it wrong. ';
[...]
}
}
Bij tip 2: waarschuwing in de CSS
Bij tip 2: waarschuwing in de CSS
Bij tip 2: waarschuwing in de CSS
Links
• Ehm, click here?
• Hreflang attribuut
• :focus
:active
:hover
• outline
Plaatjes
• Illustratief
• Niet alleen uitleggen met plaatjes
• Alt-attribuut
Plaatjes
• Beschrijvingen
• Alt-attribuut
Plaatjes
Redesign van
internet.nl
(HTML preview at: internet.nerdnerd.nl)
Plaatjes
• Geen plaatjes
Plaatjes
• Hoog contrast
Plaatjes
• Geen JavaScript
Animaties
• See gist for code (or: wbvb.nl/animation)
• Live: https://www.ibewustzijnoverheid.nl
Kort & goed:
• Gebruikers
• Beginnelingen / gevorderde gebruikers / make-up artists / betweters
• Toegankelijkheid
• Waarneembaar, bedienbaar, begrijpelijk, robuust
• Hack de editor
• CSS, minder = meer
• Leesniveau, paginastructuur, links, images, animaties
Even iets anders
• Chantal: 1900 kilometer fietsen voor KWF
• Doel: 1900 euro
• STEUN
acties.kwf.nl/bebravebeepicfightcancer
Vragen?
• Zie:
wbvb.nl/hit-any-user-to-
continue/
/contact
• Site: wbvb.nl
• Twitter: @paulvanbuuren
• Mail: paul@wbvb.nl
tegelizr.nl

Mais conteúdo relacionado

Destaque

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destaque (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Hit any user to continue (nld)

Notas do Editor

  1. Hallo, ik ben Paul van Buuren. Ik heb een paar kleine tips en trucs voor het trainen van de gebruikers van je WordPress-site. Voor techneuten. Voor content editors. Voor iedereen die websites maakt.
  2. Wie is een developer? Wie blogt minstens elke maand? Wie traint gebruikers?
  3. Want we weten allemaal dat WordPress makkelijk te gebruiken is. waardoor er mensen zijn die het wellicht onderschatten... Heeft iemand dit filmpje misschien NIET gezien?
  4. Handig zijn met make-up is misschien het begin van een carriere als website-maker. Maar een redelijke website is al niet zo makkelijk En een goede website is echt VERDOMD MOEILIJK Sorry
  5. Met gebruikers bedoel ik vandaag dus niet: bezoekers van je website. Ik bedoel de lui die uiteindelijk zitten te frutten in de admin-kant van je WordPress-site.
  6. De nieuweling. Amper ervaring met het maken van sites. Aan de hand meenemen. Te veel knoppen of te veel informatie werkt voor hen afschrikwekkend. Dit soort gebruikers is bang om dingen stuk te maken. Het is jouw taak om ze op hun gemak te stellen
  7. De gevorderde gebruiker. Dit is een fijne groep om voor t werken. Ze snappen dingen. Ze hebben al ervaring met het maken van websites Hun hoef je vaak maar 1x iets te laten zien in WordPress. You only have to show them once where everything is in WordPress. These users are not afraid to experiment.
  8. Een derde groep is wat ik de make-up artists noem. Ook een fijne groep want ze willen mooie websites maken. Maar aan de andere kant, deze gebruikers richt zich soms op de verkeerde dingen Dagen speuren op Theme forest, maar vergeten de teksten te schrijven. Verliezen zich graag in fontjes, kleurtjes en foto’tjes
  9. Mijn minst favoriete gebruiker is de betweter. Vaak wat ouder, vaak met een hoop IT-ervaring. Heeft erg de neiging om het maken van een site te onderschatten. Praten vaak in een eigen taal. Hebben vaak ervaring met niet-WordPress sites. Daarom hebben ze het idee dat ze precies weten hoe alles werkt en dat het systeem zich aan hen zal aanpassen, net als het obscure CMS dat ze 10 jaar geleden al gebruikten.
  10. Misschien zijn er andere soorten gebruikers?
  11. Wat elke gebruiker moet weten. Schrijven voor het web is niet hetzelfde als schrijven in Word. Een website is NIET hetzelfde als het schrijven van een roman. Lezen op het web is anders. Verwacht niet dat je gebruikers alles lezen op je website. Dat doen ze namelijk niet. Bijvoorbeeld: 20% of your visitor actually read the whole text on your page. The others just scan. Judging a page is done in milliseconds. Often this decision is made unconsiously. This decision has to do with a great number of factors. This does not mean that your user can get away with using just Lorem Ipsum text.
  12. Let’s talk about what methods we have for training WordPress users. Keep it as simple as possible IRL training session(s) Repeat and repeat Repeat again Stick to the basics: pages, media, posts User role: author
  13. For more experienced users I often use instruction videos. Instruction videos don’t work for novices. Experienced users could use a playground site, to experiment User role: at least editor, maybe administrator
  14. Very focused on editing options. Constrain these options. If you want a future proof website disable all coloring options. You need to constantly remind them that they need a good website structure first. That they do not want to experiment with 41 shades of blue or 50 shades of grey. For these kind of user a very handy word you can use a very handy word: NO
  15. Start the conversation about a website with: ‘All I want is a simple website’. They think they know exactly what they want, because they read about it. Or because a collegue of theirs has a site. This type of user needs to be confined by structure. He needs to know what the site can and cannot do. Definitely needs a playground site User role: editor. Only administrator if properly instructed not to break the site. They think that making a website is easy. But actually…
  16. …simple is not that easy..
  17. And that, the universality of the web, brings us to accessibilty. Waarneembaar: denk aan kleur Bedienbaar: bruikbaar zonder muis, met alleen een toetsenbord? Begrijpelijk: zie leesniveau Robuust: screenreaders, hover-functionaliteit op mobieltjes afwezig
  18. What’s wrong with this text. Apart from the lorem ipsum?
  19. What’s wrong with this text. Apart from the lorem ipsum?
  20. People who use screanreaders cannot understand the structure of your document
  21. This is the proper structure of the document
  22. If you only want to change the font for the editor, append a style tag to the header
  23. If you only want to change the font for the editor, append a style tag to the header
  24. If you only want to change the font for the editor, append a style tag to the header
  25. This allows only for Paragraph Header level 2 to 6, quote tag and a horizontal rule This was the code for older Wordpress versions.
  26. Disallow underline (this should be reserved for links, color and full width text justify
  27. Contents of the first toolbar
  28. Empty the second toolbar. Most users seem to be unable to open this toolbar
  29. Expliciting naming of tags
  30. Special formatting
  31. Special formatting
  32. This allows only for Paragraph Header level 2 to 6, quote tag and a horizontal rule
  33. Special formatting
  34. Here is some CSS / LESS code
  35. Mark the span. This has a color that does not match with the theme.
  36. Looks ok. But has unwanted inline styling.
  37. Ghehehehe. Remember the bold semi-headers? Same thing.
  38. Instruct your users to provide meaningful descriptions You don’t need alt-text for decorative images