Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Changes b tag to strong #5869

Merged
merged 1 commit into from Apr 17, 2012

Conversation

Projects
None yet
2 participants
Contributor

LachyGroom commented Apr 17, 2012

The change is made due to importance of the attribute name (e.g. Name:) on the page (versus just stylistic / appearance sake tag).

Changes b tag to strong

The change is made due to importance of the attribute name (e.g. Name:) on the page (versus just stylistic / appearance sake tag).
Member

drogus commented Apr 17, 2012

Actually, b makes more sense here. One of the explanations is here: http://html5doctor.com/i-b-em-strong-element/

The strong element represents strong importance for its contents.
HTML — Living Standard, WHATWG

Not much more to say really — it’s the <strong> we all know so well. Indicate relative importance by nesting <strong> elements, and use <em> for text with stress emphasis, or <b> for text that is “stylistically offset” or bold without being more important.

Contributor

LachyGroom commented Apr 17, 2012

From the same page "Only use <b> when there are no other more suitable elements — e.g., <strong> for text with semantic importance", <b> would be more appropriate if it was the first letter of a book, for typographical reasons.

Member

drogus commented Apr 17, 2012

Ok, so it depends if you look at those elements as just styling or elements with greater semantical importance. After rethinking that I agree with you. Those attribute names are more important than values and you may want to style them differently than using bold.

drogus added a commit that referenced this pull request Apr 17, 2012

@drogus drogus merged commit e9f778a into rails:master Apr 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment