<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>akikoo.org</title>
	<atom:link href="https://www.akikoo.org/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.akikoo.org</link>
	<description>akikoo.org &#124; the web home of Aki Kärkkäinen. Published from Copenhagen, Denmark.</description>
	<lastBuildDate>Tue, 06 Nov 2018 15:02:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.8.7</generator>
	<item>
		<title>Tips for a Sustainable and Repeatable Accessibility Process</title>
		<link>https://www.akikoo.org/log/2018/11/05/tips-for-a-sustainable-and-repeatable-accessibility-process/</link>
		<pubDate>Mon, 05 Nov 2018 15:42:40 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">https://www.akikoo.org/?p=1859</guid>
		<description><![CDATA[Have you ever had trouble using a digital product or service? Do you remember how it felt? Did you feel excluded, or just frustrated?]]></description>
				<content:encoded><![CDATA[<p>Have you ever had trouble using a digital product or service? Do you remember how it felt? Did you feel excluded, or just frustrated? In this introductory post I’ll discuss some of the roadblocks to creating accessible products while offering practical advice on how to overcome them.</p>
<h2>What is Web Accessibility?</h2>
<p>Web accessibility is about putting people first. It’s about digital equality and inclusion. It’s about understanding the diversity of users and designing for the needs of the widest range of people – including (but not limited to) those with situational, temporary, changing or permanent disabilities. It’s not about edge cases: designing for inclusion makes the design better for everyone. It’s not about “them”, it’s about us.</p>
<p>So, why’s the process of creating digital products so broken that we – often unintentionally – create exclusions, or simply make the products difficult to use? How can we try to fix the accessibility process?</p>
<h2>The Cost of Accessibility</h2>
<p>Accessibility does have a cost: it’s the cost of being professional and doing the work well. It’s operational cost, not a line item in a project. This of course requires initial training, awareness and organizational changes, but once your organization designs, develops, delivers and sells with accessibility in mind, the cost becomes close to nothing. Retrofitting accessibility is expensive, so the trick is to start early and proactively integrate it into the work processes. You can either do it now and save money or do it later and lose money. Or you can skip it altogether, but then your customers will take notice.</p>
<p>It’s important to understand that accessibility is neither a feature nor only a checklist. It&#8217;s a facet of quality user experience and as such, it can be a crucial differentiator and competitive advantage in the product or service you’re selling. By ensuring your product is accessible you might even avoid a lawsuit when the new European accessibility legislation becomes binding law.</p>
<h2>Some Reasons for Poor Accessibility</h2>
<ul>
<li>Myths</li>
<li>Business decisions</li>
<li>Lack of knowledge, experience, time or money</li>
<li>Ignorance</li>
<li>Vendor lock-in (authoring tools/3rd-party software)</li>
<li>Culture or organizational structure</li>
</ul>
<p>More specifically, I have identified the following areas of improvement:</p>
<ol>
<li>Accessibility Audit</li>
<li>Evaluating by Principle</li>
<li>Prototyping with Idealized Static Content</li>
<li>Automated Checklist Accessibility</li>
<li>Awareness, Motivation and Training</li>
<li>Company Culture and Organizational Structure</li>
</ol>
<p>Let’s break these down one by one.</p>
<h3>1. Accessibility Audit</h3>
<p>If you ask a consultant to do an accessibility audit for you, the result is often just stating the obvious: the product has barriers to accessibility. Every product has. The key is to turn accessibility audit into an organizational learning experience by working closely with the client and suggesting better practices that ensure success. It’s important to try to reduce complexity around accessibility and help solve the root causes in a sustainable, predictable and actionable manner.</p>
<h3>2. Evaluating by Principle</h3>
<p>It’s common to report accessibility issues by abstract principles – after all, that’s how the Web Content Accessibility Guidelines (WCAG) are organized. However, a better approach is to think holistically and in terms of accessible Design Patterns. After you learn to evaluate and identify problematic patterns, you can use better ones.</p>
<h3>3. Prototyping with Idealized Static Content</h3>
<p>Prototypes and designs should offer various ways of consuming dynamic content. We all have different levels of vision, hearing, dexterity, and cognition. Even for “perfectly abled”, sometimes the situation is less than ideal: reading on your phone in bright sunlight, using your device with one hand only, or when you’re constantly interrupted when you’re trying to complete a task. These are just some simple examples.</p>
<h3>4. Automated Checklist Accessibility</h3>
<p>Automated accessibility testing is important, but it only tells you if it finds failures in code. These technical failures highlight just a very small percentage of all possible issues that people can experience using the product. It doesn’t tell you if the product is actually usable. Relying only on automated tests can help you achieve technical compliance, but the quality metrics should be based on accessible user experience and the ability to get things done. This means that you should always test with real users, in addition to automated testing.</p>
<h3>5. Awareness, Motivation and Training</h3>
<p>Product design decisions may affect the targeted audience in unexpected ways. You just might not be aware of why, how and how much. That’s why it’s important to have a Change Agent or a Champion in the organization creating awareness and transparency around possible accessibility issues. However, accessibility should be owned by everyone involved. Share the knowledge, collaborate and encourage <strong>“yes, and“</strong> behaviour.</p>
<p>Finding the right arguments for a change can be challenging. It may be better to show and not tell. It’s easier to understand things after you’ve experienced them firsthand. Whatever you do, make sure to challenge the status quo and address ignorance and myths with training and workshops. The sometimes heard “…but this is a web app” excuse of not building accessibility in from the beginning is just one example of flawed thinking that needs to change.</p>
<h3>6. Company Culture and Organizational Structure</h3>
<p>Accessibility requires structural and process changes and a holistic view of the organization as a living system. Old-school functional silos must give way to cross-functional teams. Much like a good Scrum Master removing impediments to the team’s progress, so can the team eliminate barriers to accessibility and usability. High-performance teams already know that the key to achieving results of this caliber requires a mindset switch.</p>
<h2>Examples of Integrating Accessibility into Your Process</h2>
<ul>
<li>Create and use <strong>accessibility Personas</strong> when researching and designing</li>
<li>Create an <strong>inclusive Design System</strong> driven development workflow</li>
<li>Add accessibility guidelines in your <strong>Definition of Done</strong> and make sure the team has a shared understanding of them</li>
</ul>
<h2>Conclusion</h2>
<p>I hope this post has given you some new ideas on how to integrate web accessibility into your workflow. We’ve seen how a little bit of empathy, awareness and leading by example can go a long way towards improving the lives of people using your product or service and make a positive impact on bottom line.</p>
<p>Remember: all technology is assistive.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Style Guide Driven Development with React</title>
		<link>https://www.akikoo.org/log/2016/07/27/style-guide-driven-development-with-react/</link>
		<comments>https://www.akikoo.org/log/2016/07/27/style-guide-driven-development-with-react/#respond</comments>
		<pubDate>Wed, 27 Jul 2016 06:28:09 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[Open source]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">http://www.akikoo.org/?p=1698</guid>
		<description><![CDATA[<p>Style guides and pattern libraries are a great collaboration and communication tool in cross-functional teams.</p>]]></description>
				<content:encoded><![CDATA[<h2>Purpose</h2>
<p>Style guides and pattern libraries are a great collaboration and communication tool in cross-functional teams. These tools have many names and variations (see <a href="http://styleguides.io/">styleguides.io</a>), but in this post I&#8217;ll just call them style guides. Essentially they break down the user interface into its component parts, and serve as a resource for new designers and developers to locate existing patterns for further use. Decoupling the UI from application data, and splitting the UI into components often results in a more consistent and efficient UI for users.</p>
<h2>Problems</h2>
<p>Style guides are often static, with no direct connection with the app templates. As Ian Feather emphasizes in his excellent article, <a href="http://ianfeather.co.uk/a-maintainable-style-guide/">A Maintainable Style Guide</a>, once your style guide falls out of sync with your application it has entirely lost its purpose. So how can we ensure your style guide is relevant and always up-to-date?</p>
<h2>Main Style Guide types</h2>
<p>So far, I&#8217;ve worked with the following four main types of style guides:</p>
<ul>
<li>Loop through a component directory of styled markup snippets (examples: <a href="https://github.com/adactio/Pattern-Primer">Pattern Primer</a>, <a href="https://github.com/paulrobertlloyd/barebones">Barebones</a>)</li>
<li>Analyse the CSS and render the style and markup from the Sass/CSS comments (examples: <a href="https://github.com/trulia/hologram">Hologram</a>, <a href="http://warpspire.com/kss/">KSS</a>)</li>
<li>Maintain a larger, atomic design system (examples: <a href="http://patternlab.io/">Pattern Lab</a>/<a href="http://atomicdesign.bradfrost.com/">Atomic Design</a>, <a href="https://www.lightningdesignsystem.com/">Lightning Design System</a>)</li>
<li>Consume the same component API for both the app and the style guide (example: <a href="https://rizzo.lonelyplanet.com/">Lonely Planet style guide</a>)</li>
</ul>
<p>I prefer the last option: a <strong>living style guide</strong> with the same shared components used everywhere. I&#8217;ve worked with style guides on different tech stacks over the years, but since I nowadays work a lot with React, I&#8217;ve created a simple <a href="https://github.com/akikoo/react-ui-style-guide">Living Style Guide with React</a> on Github.</p>
<p>I didn&#8217;t do much styling as I wanted to keep things simple in this project. If you want to read more on how to structure your CSS, see <a href="/log/2016/07/17/architecting-css-for-responsive-large-scale-applications/">Architecting CSS for Responsive Large Scale Applications</a>.</p>
<h2>Style Guide Driven Development</h2>
<p>Having a style guide drive your design and development work really helps in establishing a shared vocabulary in the team. It also helps in finding patterns in the UI, saving extra development time as we can consolidate similar components. We want to create atomic design systems, not pages, so having all the components in one place ensures that we can test and iterate over them more easily. When you need new components, build them first in the style guide, consuming the same data than your app does. Then you can mix and match these components to compose pages for production.</p>
<p>Finally, I don&#8217;t think style guides can be fully automated. They are part of the workflow, showing the whole organization&#8217;s commitment to a coherent design system. You&#8217;ll want to define your components &#8211; and the data they consume &#8211; one way or the other, and also describe their usage for team members with different roles. This is just one way of doing it. I hope you find it useful &#8211; and as usual, feedback is appreciated on how to make it better.</p>
<p><a href="https://github.com/akikoo/react-ui-style-guide" class="btn btn-action">Living Style Guide with React on Github</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.akikoo.org/log/2016/07/27/style-guide-driven-development-with-react/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Architecting CSS for Responsive Large Scale Applications</title>
		<link>https://www.akikoo.org/log/2016/07/17/architecting-css-for-responsive-large-scale-applications/</link>
		<comments>https://www.akikoo.org/log/2016/07/17/architecting-css-for-responsive-large-scale-applications/#respond</comments>
		<pubDate>Sun, 17 Jul 2016 16:36:52 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">http://www.akikoo.org/?p=1674</guid>
		<description><![CDATA[<p>CSS is often regarded as a second-class citizen in web development. It doesn't always get the same level of attention as JavaScript does.</p>]]></description>
				<content:encoded><![CDATA[<p>CSS is often regarded as a second-class citizen in web development. It doesn&#8217;t always get the same level of attention as JavaScript does. The problem is that CSS is flat, global and unstructured by nature, so developers need to create and enforce systematic conventions for writing it. Many developers are opinionated and under tight deadlines, so without an agreed set of rules the team commits to, CSS can spiral out of control very quickly. A good <a href="/log/2012/04/23/responsive-design-systems/">design system</a> provides meaning for designers and developers, making development easier and more maintainable in the long term. It&#8217;s almost like building with LEGO bricks!</p>
<p>I&#8217;ve adapted the way I write CSS many times during the years. In recent years I&#8217;ve settled with a hybrid set of methodologies that work well for me and the team, so I thought I&#8217;d document my approach here. A few years ago people released new JavaScript MVC frameworks almost on a daily basis. Now the same is happening to CSS: new CSS frameworks and toolkits are released regularly, which is a sign people actually care!</p>
<h2>Problems we&#8217;re trying to solve</h2>
<p>Some of the problems in CSS land:</p>
<ul>
<li>Selectors mixing layout and look &amp; feel, doing too much</li>
<li>Nested selectors tied to their location in the DOM, reducing scope for reuse (contextual styling)</li>
<li>CSS and JavaScript tightly coupled</li>
<li>Design patterns not abstracted enough</li>
<li>Specificity issues</li>
<li>Different developer preferences</li>
<li>Time spent in debugging/fixing issues due to style leaking</li>
</ul>
<p>Many articles have been written on the topic, I&#8217;m just restating the problems here to explain how I arrived at my favorite setup. And no, <a href="https://speakerdeck.com/vjeux/react-css-in-js">vjeux&#8217;s CSS-in-JS</a>, driven mostly by ReactJS folks, does not provide all the answers to these problems. More on that later.</p>
<h2>Requirements for scalable CSS design system</h2>
<p>According to my experience, these are the main requirements for a scalable CSS architecture that minimizes side effects:</p>
<ul>
<li>Components should be able to live anywhere in the DOM and in the layout, without things breaking or styles leaking</li>
<li>Components should be open for extension</li>
<li>Each component should be responsible for a single part of the UI</li>
<li>Components should be composable (like LEGO bricks), for building bigger components and pages</li>
<li>And finally, the system should communicate useful information to developers in class names when reading a DOM snippet.</li>
</ul>
<p>With those requirements in place, let&#8217;s see how we can achieve this.</p>
<h2>Methodologies</h2>
<p>I use a mixture of <a href="https://smacss.com/">SMACSS</a> (splitting the rules across base, layout, component and state layers), <a href="https://en.bem.info/">BEM</a> (component-level naming conventions) and <a href="http://oocss.org/">OOCSS</a> (abstracted reusable patterns and utilities). The reason why I like these methodologies is that they define a high-level abstraction, leaving the actual implementation and syntax details to the team to decide.</p>
<h3>Base</h3>
<p>This layer contains only all base element defaults and reset rules, no classes/IDs. You should never use IDs for styling anyway.</p>
<h3>Layout</h3>
<p>This layer contains the major layout and grid rules, with classes always prefixed with <code>.layout-</code> or just <code>.l-</code>. These classes may be used also on component level if necessary, to create minor layout in components. In this case, they can live in the same DOM element than the component top-level namespace but again, prefixed with <code>.l-</code>.</p>
<h3>Component and modifier</h3>
<p>Components should rely on their parent container for sizing. They should only know how to style themselves and do that job well. The less the components know about their surrounding elements or their external spacing, the better. Components can be composed of other components but they should inherit rules only from the base, not from other components. I&#8217;ve used BEM many years now (<a href="http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/">Harry&#8217;s Mindbemding article</a> is recommended reading).</p>
<h3>Component state</h3>
<p>State classes should be prefixed with <code>.is-</code> or <code>.has-</code>, and scoped to the component or sub-element and never global, for example <code>.tweet.is-favorited</code>. Media queries also modify component state.</p>
<p>So what&#8217;s the difference between a state and a modifier? It can be difficult to decide sometimes. The difference is subtle: state classes describe component&#8217;s appearance in various states, whereas BEM modifier classes describe modifications in component&#8217;s base appearance, regardless of state. Very subtle (and somewhat theoretical).</p>
<h3>Utils</h3>
<p>This is where lines again become blurred. What&#8217;s the difference between a component and a utility? In my mind, component is a namespaced singleton whereas utility is common functionality or atomic property that is applied to many objects (components). How you want to call these is up to you and your team. Some people prefix utility classes with <code>.u-</code> to indicate their purpose.</p>
<p>I use utility classes mostly for managing white space (such as <code>.ml1</code> which would be defined as <code>{margin-left: $white-space1;}</code> in Sass for example), but they can be basically anything. Just remember they have to be different from layout and component namespace classes. Spacing classes is a feature that&#8217;s missing from many popular frameworks, which is why I prefer smaller, modular and designless toolkits. I particularly like <a href="http://davidtheclark.github.io/scut/">Scut</a>, <a href="https://suitcss.github.io/">SUIT CSS</a>, <a href="http://www.basscss.com/">Basscss</a> and <a href="http://tachyons.io/">Tachyons</a>, to name a few. They provide useful pieces of reusable functionality, either as simple atomic classes doing one thing, or larger mixins implementing certain feature (for example centering an element on both axes). I&#8217;m also using the OOCSS media object extensively.</p>
<h3>Basic example</h3>
<p>See how much meaningful information you can extract from the markup snippet below. It demonstrates the use of all the class layers described above.</p>
<pre><code>&lt;div class="l-row"&gt;
  &lt;div class="l-row__unit l-row__unit-3"&gt;
    &lt;div class="accordion" id="js-accordion" data-ui-component="accordion-stream" aria-multiselectable="true"&gt;
      &lt;h3 class="accordion__heading is-expanded" role="presentation"&gt;
        &lt;a href="#js-acc1-p1" id="js-acc1-t1" role="tab" aria-selected="true" aria-controls="js-acc1-p1" tabindex="0"&gt;Tab heading&lt;/a&gt;
      &lt;/h3&gt;
      &lt;div class="accordion__panel media" id="js-acc1-p1" aria-labelledby="js-acc1-t1" role="tabpanel" aria-hidden="false"&gt;
        &lt;div class="media__img"&gt;
          &lt;img width="150" src="" alt="" /&gt;
        &lt;/div&gt;
        &lt;div class="media__body u-text-truncate"&gt;
          &lt;h2 class="h1 ml1 mr1"&gt;Module Headline&lt;/h2&gt;
          &lt;p&gt;The media object saves hundreds of lines of code.&lt;/p&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>
<h2>Responsive design and exception handling</h2>
<p>Now let&#8217;s throw responsive design into the mix. How do you apply a layout, media object or utility only for certain screen sizes? What if you sometimes want that class to be responsive, and sometimes not? As always, it depends.</p>
<p>Let&#8217;s take media object as an example. Consider these design scenarios:</p>
<ul>
<li>I want the media object to be responsive all the way from small to large screens</li>
<li>I want the media object layout to be applied only on, say, large screens</li>
<li>I want to keep the same media object layout on all screens sizes</li>
</ul>
<p>How would you manage these three situations? It&#8217;s helpful if we can identify the default case first. What do you think the default rule should be? What are the exceptions here? I&#8217;d argue that since we want to use <strong>mobile first</strong> approach, responsive should be the default, and if we want to override that, we&#8217;d use a modifier. Here then the default class would be <code>media-object</code> (with media queries), and for the second case, we&#8217;d add <code>media-object--page-lg</code> that would override relevant rules up until large screen. For the third case, we&#8217;d use <code>media-object--page-xs</code> and add our overrides there. Since responsive is the default, overrides would only be rare edge cases: exceptions. Alternatively, we could use state classes since media queries belong to component state domain, like so: <code>.media-object.is-page-xs</code>. Up to you, as long as you do it systematically in your team.</p>
<h3>Managing variations</h3>
<p>The caveat here is that at some point, you&#8217;ll realize you have too many minor component variations. This is not a failure in code, it&#8217;s a failure in design system. The solution is two-fold: talk to the designers, and use Style Guide Driven Development. Your future self, your colleagues and your users will thank you.</p>
<h3>Contextual styling</h3>
<p>Also worth reminding is that contextual styling should be kept to a minimum. A component may be designed to look different inside another component, but that doesn&#8217;t mean that it should be implemented with contextual styling. There is no nested component context, and that is simply because components don&#8217;t know of each other. A component can be positioned inside another component, but that responsibility belongs to minor layout classes (or utilities). Nested components&#8217; job is simply to render themselves. If a component happens to look different when it&#8217;s inside another component, it&#8217;s because that nested component is using a component modifier, <strong>not because it&#8217;s inside another component</strong>. When you understand this, you&#8217;ll experience the full power of scalable CSS components, modifiers and utilities.</p>
<h2>The future</h2>
<p>The approach I&#8217;ve described in this post has worked very well for me and my team the last few years. We&#8217;ve had very few style leaks and practically no UI regressions. I mentioned in the beginning that I&#8217;m not a fan of CSS-in-JS. It&#8217;s an interesting experiment and an honest try to solve the issues CSS has, but it feels a bit over-engineered and too tightly coupled with JavaScript, solving some of the problems but creating others. Some argue that CSS classes should only define the stateless appearance of a component, while state styles should be inlined, to encapsulate behaviour in one place. Fair enough, good point, but if you start putting styles inline, where do you stop? You have to go all the way, otherwise it gets too messy. I&#8217;m not completely against it, I&#8217;m just not convinced that CSS-in-JS would support designer/developer workflow that well, not to mention backend developers who also touch frontend code. Maybe it works well in certain projects. Keep in mind though that it locks you down to your selected JavaScript framework.</p>
<p>With that said, I find <a href="http://glenmaddern.com/articles/css-modules">CSS Modules</a> concept quite exciting and will be following it very closely going forward. Best practices change all the time. You decide what&#8217;s best for your team and product. It&#8217;s best to keep your mind open.</p>
<h2>Tools</h2>
<p>This post is not about tooling, but suffice to say that you should of course be using <a href="http://stylelint.io/">stylelint</a> and <a href="http://postcss.org/">PostCSS</a> with your Sass. With stylelint, you can programmatically enforce BEM syntax in your components, prevent rule nesting, and do lots of other things. I recently wrote an <a href="/log/2016/06/18/enforce-stylesheet-conventions-with-stylelint/">article about configuring stylelint</a>.</p>
<h2>Closing thoughts</h2>
<p>Many backend developers and designers I&#8217;ve worked with also like this layered class-based approach because it empowers them. Changing a few atomic class attributes in markup is far easier and faster than refactoring tangled style sheets. On the other hand, if the markup contains too many atomic classes, you might be giving too much freedom to markup authors. Make sure to keep the UI consistent. That&#8217;s why you&#8217;re doing Style Guide Driven Development, right?</p>
<p>Before adding anything new to the codebase, do yourself and your team a favor and ask yourself the following questions:</p>
<ul>
<li>Does this style exist already? If yes, can I reuse it and maybe abstract it into a utility?</li>
<li>If this style doesn&#8217;t exist yet, what should the new class do? Does it belong to layout, component, state or utility domain? Or is it just a hook for JavaScript, without styling? If it&#8217;s none of these, fall back to global HTML elements.</li>
</ul>
<p>The goal here is to use methodical approach, to reduce ad hoc decision-making.</p>
<p>In this post I&#8217;ve talked a lot about components. In many ways, components, modifiers and functional utilities are the meat of the matter of reusable and scalable CSS. It&#8217;s important to keep in mind though that component-based design doesn&#8217;t always mean that all the CSS should live in the dedicated CSS file for that component (most of it should though). A composed HTML component can include classes from different layers <strong>as long as it&#8217;s very clear what each class does</strong> (because you have a self-documenting naming convention described in this post and shown in the basic example snippet). Go compose!</p>
<h2>Partial credits</h2>
<p>I&#8217;m listing here just a few epic articles. You can find many more in my <a href="https://github.com/akikoo/frontend-dev-bookmarks">frontend-dev-bookmarks</a>.</p>
<ul>
<li><a href="http://nicolasgallagher.com/about-html-semantics-front-end-architecture/">About HTML semantics and front-end architecture</a></li>
<li><a href="http://engineering.appfolio.com/2012/11/16/css-architecture/">CSS Architecture</a></li>
<li><a href="http://keithjgrant.com/posts/against-css-in-js.html">Against CSS in JS</a></li>
<li><a href="http://csswizardry.com/2015/06/contextual-styling-ui-components-nesting-and-implementation-detail/">Contextual Styling</a></li>
<li><a href="http://davidtheclark.com/on-utility-classes/">The Role of Utility Classes in Scalable CSS</a></li>
<li><a href="https://www.smashingmagazine.com/2016/06/battling-bem-extended-edition-common-problems-and-how-to-avoid-them">Battling BEM</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://www.akikoo.org/log/2016/07/17/architecting-css-for-responsive-large-scale-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enforce stylesheet conventions with Stylelint</title>
		<link>https://www.akikoo.org/log/2016/06/18/enforce-stylesheet-conventions-with-stylelint/</link>
		<comments>https://www.akikoo.org/log/2016/06/18/enforce-stylesheet-conventions-with-stylelint/#respond</comments>
		<pubDate>Sat, 18 Jun 2016 13:48:21 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">http://www.akikoo.org/?p=1667</guid>
		<description><![CDATA[CSS linting has been gaining traction lately. I've used <a href="http://csslint.net/">CSSLint</a> the last years in some of my projects.]]></description>
				<content:encoded><![CDATA[<p>CSS linting has been gaining traction lately. I&#8217;ve used <a href="http://csslint.net/">CSSLint</a> the last years in some of my projects. Then, a while ago I found out about <a href="http://stylelint.io/">stylelint</a> and realised it&#8217;s the best tool for the job, together with <a href="http://postcss.org/">PostCSS</a>. Stylelint is a really good mistake-preventing machine as it helps you enforce consistent conventions. </p>
<p>I took the time to read the excellent rules documentation and added stylelint setup for Sass files in my <a href="https://github.com/akikoo/webpack-es6-sass-setup">webpack-es6-sass-setup</a>. Configuration includes all the available rules but I&#8217;ve turned off the ones that I don&#8217;t currently need. I use BEM, so I&#8217;ve added <a href="https://github.com/davidtheclark/stylelint-selector-bem-pattern">stylelint-selector-bem-pattern</a> plugin as well. It&#8217;s a bit of a challenge to get the regular expression patterns right, so that part needs some tweaking to allow selectors like this: <code>.main-component__status.is-active</code>. Here&#8217;s my <a href="https://github.com/akikoo/webpack-es6-sass-setup/blob/master/.stylelintrc">.stylelintrc configuration file</a>. Initial configuration for stylelint takes some time but it&#8217;s totally worth it!</p>
]]></content:encoded>
			<wfw:commentRss>https://www.akikoo.org/log/2016/06/18/enforce-stylesheet-conventions-with-stylelint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessibility Testing Tools</title>
		<link>https://www.akikoo.org/log/2016/06/14/accessibility-testing-tools/</link>
		<comments>https://www.akikoo.org/log/2016/06/14/accessibility-testing-tools/#respond</comments>
		<pubDate>Tue, 14 Jun 2016 08:58:41 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">http://www.akikoo.org/?p=1663</guid>
		<description><![CDATA[Designing and developing with accessibility in mind is hard. That's why people have created tools to visualize potential accessibility issues and automate some of the testing tasks.]]></description>
				<content:encoded><![CDATA[<p>Designing and developing with accessibility in mind is hard. That&#8217;s why people have created tools to visualize potential accessibility issues and automate some of the testing tasks. As accessibility is such a huge topic, there&#8217;s no one-size-fits-all solution. We need to use multiple tools for testing accessibility, and none of these tools can fully replace human judgment. </p>
<p>Many articles and books have been published on this topic. Over the years, I&#8217;ve collected some of these testing tools in a Markdown file for a quick reference for myself. I thought I&#8217;d share it, so I&#8217;ve created a new GitHub repository for <a href="https://github.com/akikoo/accessibility-testing-tools">Accessibility Testing Tools</a>. I hope you find this list useful!</p>
]]></content:encoded>
			<wfw:commentRss>https://www.akikoo.org/log/2016/06/14/accessibility-testing-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My 2015</title>
		<link>https://www.akikoo.org/log/2015/12/31/my-2015/</link>
		<comments>https://www.akikoo.org/log/2015/12/31/my-2015/#respond</comments>
		<pubDate>Thu, 31 Dec 2015 20:28:25 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[Copenhagen]]></category>
		<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">http://www.akikoo.org/?p=1626</guid>
		<description><![CDATA[I haven't written end of year accounts regularly but this time I thought I'd write one for 2015. ]]></description>
				<content:encoded><![CDATA[<p>I haven&#8217;t written end of year accounts regularly but this time I thought I&#8217;d write one for 2015. Working as front-end developer involves lots of changes on a regular basis as the community keeps pushing the boundaries. It&#8217;s been a busy year!</p>
<h2>Work</h2>
<p>Most of 2015, I worked in a small and highly skilled team at Podio/Citrix building Beagle, a tool for agencies for creating and reusing proposals. It was a good opportunity to learn about product design/development and work with a modern web stack, and establish a good architecture around it with React, Flux, ES6, BEM, node and webpack. I created a modular Style Guide for the product as well which really helped in maintaining a consistent UI.</p>
<p>Towards the end of the year the future of the product became unclear so I felt a change was necessary. So I quit Podio in October, and in November joined <a href="http://bownty.com">Bownty</a>, a Danish startup providing online to offline deal curation service in hundreds of cities in multiple countries. As Lead Front-End Developer, I&#8217;m responsible for modernizing their front-end stack and related tooling, making the site responsive, and making the case for usability and accessibility as we obviously want to provide a good experience to as many consumers as possible. A good work atmosphere, solid business model, and a chance to work on many different areas with new tech with great colleagues make Bownty a great place, so I&#8217;m quite excited about it!</p>
<h2>Side projects</h2>
<p>Outside work hours, I&#8217;ve spent time with a number of small side projects and starter templates, mostly on GitHub. These include setups for <a href="https://github.com/akikoo/systemjs-jspm-sass-setup">jspm/systemjs, ES6/Babel, React, Sass</a>, <a href="https://github.com/akikoo/webpack-es6-sass-setup">webpack, ES6/Babel, Sass</a>, and <a href="https://github.com/akikoo/react-testing">React unit tests with Mocha, jsdom, unexpected and SinonJS</a>. Nothing ground-breaking, compiled from different sources around the community, but helpful in getting hands-on with new stuff. I&#8217;m maintaining my <a href="https://github.com/akikoo/frontend-dev-bookmarks">front-end dev bookmarks</a> as well, and reading a lot.</p>
<h2>Conferences</h2>
<p>During 2015, I attended three web conferences in Europe: ReactConf Europe in Paris, HybridConf in Dublin and ColdFront in Copenhagen. Good content and food for thought in all of them. Looking forward to meeting new inspiring people at conferences (and elsewhere!) in 2016. </p>
<h2>Mobile photography</h2>
<p>I&#8217;ve been using <a href="https://www.flickr.com/photos/akikoo/albums/">Flickr</a> since 2007, but this year I finally joined <a href="https://www.instagram.com/akikooorg/">Instagram</a> and <a href="http://vsco.co/akikooorg/">VSCO</a> too. These services are a lot of fun to use (but it&#8217;s sometimes hard to choose between those filters and not overuse them).</p>
<p>With that, bring on 2016!</p>
]]></content:encoded>
			<wfw:commentRss>https://www.akikoo.org/log/2015/12/31/my-2015/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beagle launched</title>
		<link>https://www.akikoo.org/log/2015/05/17/beagle-launched/</link>
		<comments>https://www.akikoo.org/log/2015/05/17/beagle-launched/#respond</comments>
		<pubDate>Sun, 17 May 2015 16:30:07 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">http://www.akikoo.org/?p=1608</guid>
		<description><![CDATA[A few weeks ago, a small team that I'm part of at Podio launched a new product, <a href="https://getbeagle.co/">Beagle</a>, into open public beta.]]></description>
				<content:encoded><![CDATA[<p>A few weeks ago, a small team that I&#8217;m part of at Podio launched a new product, <a href="https://getbeagle.co/">Beagle</a>, into open public beta. Beagle is a new standalone product to help agencies create more compelling proposals, faster. There will be a lot more features coming &#8211; go check the product out! Follow our progress in the <a href="http://blog.getbeagle.co/">Beagle blog</a> and Twitter <a href="https://twitter.com/getbeagle">@getbeagle</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.akikoo.org/log/2015/05/17/beagle-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessible web components</title>
		<link>https://www.akikoo.org/log/2014/09/25/accessible-web-components/</link>
		<comments>https://www.akikoo.org/log/2014/09/25/accessible-web-components/#respond</comments>
		<pubDate>Thu, 25 Sep 2014 18:32:15 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">http://www.akikoo.org/?p=1598</guid>
		<description><![CDATA[<p>Be sure to read #<a class="aktt_hashtag" href="https://twitter.com/search?q=%23webcomponents">webcomponents</a> #<a class="aktt_hashtag" href="https://twitter.com/search?q=%23A11y">A11y</a> punch list by @<a href="http://twitter.com/stevefaulkner" class="aktt_username">stevefaulkner</a> for implementing accessible custom controls: <a href="http://www.paciellogroup.com/blog/2014/09/web-components-punch-list/">www.paciellogroup.com/blog/2014/09/web-components-punch-list/</a></p>]]></description>
				<content:encoded><![CDATA[<p>Be sure to read #<a class="aktt_hashtag" href="https://twitter.com/search?q=%23webcomponents">webcomponents</a> #<a class="aktt_hashtag" href="https://twitter.com/search?q=%23A11y">A11y</a> punch list by @<a href="http://twitter.com/stevefaulkner" class="aktt_username">stevefaulkner</a> for implementing accessible custom controls: <a href="http://www.paciellogroup.com/blog/2014/09/web-components-punch-list/">www.paciellogroup.com/blog/2014/09/web-components-punch-list/</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.akikoo.org/log/2014/09/25/accessible-web-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New, Responsive Podio Blog</title>
		<link>https://www.akikoo.org/log/2014/04/02/new-responsive-podio-blog/</link>
		<comments>https://www.akikoo.org/log/2014/04/02/new-responsive-podio-blog/#respond</comments>
		<pubDate>Wed, 02 Apr 2014 21:05:42 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[One web]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">http://www.akikoo.org/?p=1582</guid>
		<description><![CDATA[<p>Check out the newly redesigned, responsive @<a class="aktt_username" href="http://twitter.com/podio">Podio</a> blog: <a href="http://blog.podio.com">http://blog.podio.com</a>. You can also subscribe to it so you never miss a new post! #<a href="https://twitter.com/search?q=%23rwd" class="aktt_hashtag">RWD</a> #<a href="https://twitter.com/search?q=%23podio" class="aktt_hashtag">Podio</a></p>]]></description>
				<content:encoded><![CDATA[<p>Check out the newly redesigned, responsive @<a class="aktt_username" href="http://twitter.com/podio">Podio</a> blog: <a href="http://blog.podio.com">http://blog.podio.com</a>. You can also subscribe to it so you never miss a new post! #<a href="https://twitter.com/search?q=%23rwd" class="aktt_hashtag">RWD</a> #<a href="https://twitter.com/search?q=%23podio" class="aktt_hashtag">Podio</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.akikoo.org/log/2014/04/02/new-responsive-podio-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Responsive Web Design is Solid Gold</title>
		<link>https://www.akikoo.org/log/2013/08/22/responsive-web-design-is-solid-gold/</link>
		<comments>https://www.akikoo.org/log/2013/08/22/responsive-web-design-is-solid-gold/#respond</comments>
		<pubDate>Thu, 22 Aug 2013 12:36:19 +0000</pubDate>
		<dc:creator><![CDATA[Aki Karkkainen]]></dc:creator>
				<category><![CDATA[One web]]></category>
		<category><![CDATA[Responsive]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Webdev]]></category>

		<guid isPermaLink="false">http://www.akikoo.org/?p=1544</guid>
		<description><![CDATA[<p>Brilliant follow-up article by @<a href="http://twitter.com/grigs" class="aktt_username">grigs</a>: <a href="http://blog.cloudfour.com/responsive-web-design-is-solid-gold/">Responsive Web Design is Solid Gold</a>. Default approach is now #<a class="aktt_hashtag" href="https://twitter.com/search?q=%23rwd">RWD</a>. At a minimum, you need parts of #<a class="aktt_hashtag" href="https://twitter.com/search?q=%23rwd">RWD</a> in any solution.</p>]]></description>
				<content:encoded><![CDATA[<p>Brilliant follow-up article by @<a href="http://twitter.com/grigs" class="aktt_username">grigs</a>: <a href="http://blog.cloudfour.com/responsive-web-design-is-solid-gold/">Responsive Web Design is Solid Gold</a>. Default approach is now #<a class="aktt_hashtag" href="https://twitter.com/search?q=%23rwd">RWD</a>. At a minimum, you need parts of #<a class="aktt_hashtag" href="https://twitter.com/search?q=%23rwd">RWD</a> in any solution.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.akikoo.org/log/2013/08/22/responsive-web-design-is-solid-gold/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
