Mailing List Archive

How to make mod_autoindex mobile-friendly?
Google complains that directories displayed by mod_autoindex have
"Mobile Usability Issues", specifically:

Clickable elements too close together
Text too small to read
Viewport not set

What's the best way to fix this?

I can't change the Apache server config.  My top-level .htaccess file
contains

Options +Indexes
IndexOptions +NameWidth=* Charset=UTF-8
IndexOptions FancyIndexing FoldersFirst HTMLTable
IndexOrderDefault Ascending Name

Thanks in advance,

-Jim Avera
Re: How to make mod_autoindex mobile-friendly? [ In reply to ]
> On 8 Aug 2020, at 00:17, Jim Avera <jim.avera@gmail.com> wrote:
>
> Google complains that directories displayed by mod_autoindex have "Mobile Usability Issues", specifically:
>
> Clickable elements too close together
> Text too small to read
> Viewport not set

Who the **** within Google spouts that utter nonsense?
And how ironic that Google, a company whose rise was predicated
on being the search engine that spared us such nonsense in its
early years, should now preach it!

Usability on the Web works by the server serving information,
and the user's device presenting it in a manner appropriate to the user.
Usability issues arise when a server (or more specifically an attempt to
"design" something on it) subverts the user's device.

mod_autoindex doesn't override anything, it just presents a list
which will appear with the user's own choice of presentation elements.
Any usability issues there are BY DEFINITION on the client side.

Having said that, if you want to subvert mod_autoindex to satisfy
some total idiot who happens to work for Google, you'd just set
a stylesheet for mod_autoindex's display and use that to impose
your own or your master's preferences on users.

--
Nick Kew
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: How to make mod_autoindex mobile-friendly? [ In reply to ]
WELL said Nick ???? ! SOMEONE buy that man a drink !

> On 8 Aug 2020, at 10:51, Nick Kew <niq@apache.org> wrote:
>
>
>
>> On 8 Aug 2020, at 00:17, Jim Avera <jim.avera@gmail.com> wrote:
>>
>> Google complains that directories displayed by mod_autoindex have "Mobile Usability Issues", specifically:
>>
>> Clickable elements too close together
>> Text too small to read
>> Viewport not set
>
> Who the **** within Google spouts that utter nonsense?
> And how ironic that Google, a company whose rise was predicated
> on being the search engine that spared us such nonsense in its
> early years, should now preach it!
>
> Usability on the Web works by the server serving information,
> and the user's device presenting it in a manner appropriate to the user.
> Usability issues arise when a server (or more specifically an attempt to
> "design" something on it) subverts the user's device.
>
> mod_autoindex doesn't override anything, it just presents a list
> which will appear with the user's own choice of presentation elements.
> Any usability issues there are BY DEFINITION on the client side.
>
> Having said that, if you want to subvert mod_autoindex to satisfy
> some total idiot who happens to work for Google, you'd just set
> a stylesheet for mod_autoindex's display and use that to impose
> your own or your master's preferences on users.
>
> --
> Nick Kew
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
Re: How to make mod_autoindex mobile-friendly? [ In reply to ]
On 8/10/20 6:57 AM, Nick Kew <niq@apache.org>? wrote:
> just set
> a stylesheet for mod_autoindex's display and use that to impose
> your own or your master's preferences on users.

So how to set the viewport (which is done with a <meta> tag within
<head>...</head>)?

I don't see how CSS can provide that.

-Jim


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org