echarts Site does not work without Javascript

nc1teljy  于 2022-11-02  发布在  Echarts
关注(0)|答案(8)|浏览(175)

Version

Current

Steps to reproduce

Disable Javascript in browser.
Navigate to almost any page, e.g. https://echarts.apache.org/en/tutorial.html

What is expected?

The page should display content

What is actually happening?

Most pages display nothing.

Whilst it is fine to use JavaScript to enhance a website, it should not be a requirement:

https://monsido.com/blog/accessibility-issues#accessibility-issue-7-javascript-rendering

At the very least, the page should display some content to tell the user to use JavaScript.

uurv41yg

uurv41yg1#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that it containsa minimum reproducible demoand necessaryimagesto illustrate. Otherwise, our committers will ask you to do so.

  • A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.

You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe to our mailing list .

Have a nice day! 🍵

y1aodyip

y1aodyip2#

Hi, @sebbASF Since most of the pages require JavaScript, we added tips to tell the visitors to enable JavaScript.

sf6xfgos

sf6xfgos3#

The /en/ pages don't seem to have notification that JS is needed.
Also the main page requires JS to change language; that seems unnecessarily restrictive.
Please try using the site without JS and see how it appears to users.

t9aqgxwy

t9aqgxwy4#

This is the notice @plainheart added when JavaScript is disabled.

hwamh0ep

hwamh0ep5#

Note that some users may not have the option of enabling JavaScript - for example, some assistive readers may not support JS.
So the site should as far as possible work without it.
JS should be used to provide additional features only, not for basic site content.

In particular, it should not be necessary to enable JS to change language!

nwsw7zdq

nwsw7zdq6#

Also the footer overlaps the page content, which means that some of the content cannot be seen properly.

frebpwbc

frebpwbc7#

Just updated our .htaccess file and most of the website pages are using server redirects for language now. Will keep working on it. Thanks for the advice @sebbASF

9w11ddsr

9w11ddsr8#

Thanks, the site is working a bit better, though the menu items do not work - there's really not need to use JS for that.

There is an issue with the way the message has been implemented. For example, on the main index page, the message overwrites the footer.

Also, most of the index page does work without Javascript; it would be better to show the message in place of the bits that don't work. Same for some other pages such as https://echarts.apache.org/handbook/en/get-started/

相关问题