How important do you think Progressive Enhancement is? [closed]

泄露秘密 提交于 2019-12-06 04:55:19

问题


Progressive Enhancement is a web development methodology that not only allows greater portability and accessibility but in my opinion, makes the development process easier.

What I want is to know what the rest of the community think of this approach.

In particular: What do you believe is the minimum set of technologies that a web application should support?


回答1:


If it remains usable in a text-only browser (without CSS and Javascript, of course) and also in a screen-reader, you're on the right track. But these are about the highest standards that you'll find :)




回答2:


I personally block referrers, cookies and JavaScript by default and re-enable them temporarily or permanently on a site-by-site basis.

I'll forgive a web site for not working without cookies for signed-in users, however I get quite upset when they won't work without JavaScript if it's being used for trivial purposes.

Minimum requirements: HTML with basic structural elements + links, HTML forms + maybe cookies for applications.

Site could be run in a vt100, a "normal" browser, a phone, a screen reader...


-z




回答3:


I would feel comfortable targeting HTML4 and CSS2, with the basic content structured with screenreaders in mind as a baseline experience for most websites. The key is to keep in mind a layout that is functional for text-based browsers and screenreaders and use that as the basis for the enhanced page.




回答4:


So "Progressive Enhancement" is just another term for "Graceful Degradation"? False. They are two different sides of the coin. It shows where your focus is.

Developing a site that is 100% useful without css, javascript, etc. and then adding all the pretty/fancy stuff for javascript users is an example of Progressive Enhancement.

However, when you code the site with fancy/pretty and then go back and turn off javascript and css to see how it looks, that is graceful degradation.

The group you focus on first really decides this. It is possible that you could arrive at the same conclusion but it is unlikely. Your focus determines the ending point really.




回答5:


So "Progressive Enhancement" is just another term for "Graceful Degradation"?

In which case, it's the way all websites should be done.

Web Apps should be built in HTML (4 or later), semantically and against the standards.

All CSS should be optional - content & forms should work without it, but look prettier with it.
All JavaScript should be optional - pages & forms should work without, but work easier with it.

All code should be written according to the standards & checked in each major rendering engine - but don't work around flaws in browsers unless absolutely necessary; it's up to the browsers to respect standards, not developers to grovel after bad rendering engines.



来源:https://stackoverflow.com/questions/99748/how-important-do-you-think-progressive-enhancement-is

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!