Skip to content

Welcome to Coding.
A blog from Mangopear creative.

Recent articles »

Sanitising data in WordPress

Sanitising data in WordPress

Sanitization is the process of cleaning or filtering your input data. Whether the data is from a user or an API or web service, you use sanitizing when you don’t know what to expect or you don’t want to be strict with data validation. The easiest way to sanitize data is with built-in WordPress functions. The sanitize_*() series […]

Continue reading

Accessibility resources »

CSS resources »

On Designing and Building Toggle Switches »

Yesterday I was working on creating the slides and accompanying demos for my upcoming Web Directions Code talk next week. One of the demos I’m creating is a basic proof of concept for a simple switch that is used to switch the theme of a UI from light to dark and vice versa. I liked, and was inspired, by the theme switch in the Medium app.

From Sara Soueidan.

Design resources »

Responsive, accessible tables »

This approach is different from others you may have seen in that it uses a valid <table> (and child elements) and acknowledges that screen readers no longer consider <table>s to be tables when you start messing with their display properties.

From Adrian Roselli.

WordPress resources »

Gutenberg Block Library »

It can be hard to find individual blocks, as many are part of larger collections that are hard to search within. To solve that problem we have created a block library that lists each block individually. Blocks in the library are easily searchable and tagged for convienience.

From Gutenberg Block Library.

Popular topics

On development

On best practice

On content strategy