Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Liam Maclachlan
Liam Maclachlan
22,805 Points

"Outline: none;" Don't do it!

Hey guys, just sharing something I found.

Worth a read and a perfectly valid reason shy you should not use the attribute value pair. Read the reasoning here :)

1 Answer

Dane Parchment
MOD
Dane Parchment
Treehouse Moderator 11,077 Points

Well in my honest opinion, if the outline goes against your design, you can definitely remove it. You just need to make sure you create your own focus, hover, and active styles to make up for the missing outline. That's my opinion though, and I am a software engineer, not designer, so take my words with a grain of salt. ;D

Liam Maclachlan
Liam Maclachlan
22,805 Points

Hey man. I agree. As long as it is contrasting in some kind of way, that should be okay. I think it is more that these subtleties are not normally included in peoples design and should be.

As far as design vs accessibility goes, it is the job of a good developer/designer to make sure the site is aesthetically pleasing and accessible to all. Kind of like ignoring some of the IE9 CSS conflicts, for example, would be a terrible thing to do as it then breaks the experience for anyone using that browser, or earlier.